Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fetch the most recent entity state via assist while use tools option is enabled #236

Open
b14hr2zzz opened this issue Jun 27, 2024 · 0 comments

Comments

@b14hr2zzz
Copy link

Firstly, thank you for sharing this excellent integration. It significantly enhances the utility of Home Assistant.

I would greatly appreciate your assistance with the following issue:
When the 'use tools' feature is enabled, if I issue a command via Assist to turn an entity on or off and then ask Assist for the status of this entity, the response I receive is accurate. However, if I adjust the entity's switch via the Home Assistant web GUI and then inquire about its status through Assist, the response provided by Assist is incorrect. How can I prompt Assist to retrieve the latest state of the exposed entities rather than the state from the history?

The reason for needing the latest state of the entity is that some sensors continuously update their status or data. Without the ability to retrieve the most recent state via assist, there will be discrepancies between the data obtained from Assist and the data displayed on the Home Assistant web GUI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant