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

ExposeSensor write/update value #593

Open
farmio opened this issue Feb 4, 2021 · 1 comment
Open

ExposeSensor write/update value #593

farmio opened this issue Feb 4, 2021 · 1 comment
Labels

Comments

@farmio
Copy link
Member

farmio commented Feb 4, 2021

An ExposeSensor value currently gets overwritten by a Telegram from the KNX bus. This is equivalent to a communication object with the write and update flags set.

If we expose a value from HA and the ExposeSensor receives a GroupValueRead request it will respond with its latest received value instead of the last value from HA.

We could add a update_from_bus: bool attribute for ExposeSensor devices that prevent it from processing GroupValueWrite and GroupValueResponse telegrams.


I just sumbled over this in tests. I'm not sure if this is is a real-word problem because the GA the ExposeSensor sends to should not be used to send by other devices imho but I may have overlooked something.

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please make sure to update to the latest version of xknx (or Home Assistant) and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 18, 2021
@farmio farmio added no-stale and removed stale labels Nov 20, 2021
@farmio farmio added the 💡 feature request Feature request label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant