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

Disable controls on alarm #4

Open
BergenSoft opened this issue Dec 17, 2023 · 5 comments
Open

Disable controls on alarm #4

BergenSoft opened this issue Dec 17, 2023 · 5 comments

Comments

@BergenSoft
Copy link

BergenSoft commented Dec 17, 2023

Some covers or blinds aren't allowed to be moved in some cases. E.g. if it is raining or it is too windy.
Of course a knx module has to make that sure, but the controls in Hassio can still be pressed.

Is there any possibility to disable them in case of an alert or would it make sense to implement this feature as a separate sensor address (or multiple addresses for raining and windy at the same time)?

@farmio
Copy link
Member

farmio commented Dec 17, 2023

The only way to disable controls would be to set the entity "unavailable". This is currently the case when the Knx interface is disconnected, but I could imaging adding a binary GA for such things would be a good idea.

@Julius2342
Copy link

All my wall switches (binary sensors) do not control any actors and only trigger automations. This has the advantage that i can switch off automations if i e.g. want to disable a wall switch.

@farmio
Copy link
Member

farmio commented Dec 18, 2023

One thing to consider is that a user may even want to be able to use the entity while eg. a wind alarm is set. Some actuators process incoming telegrams to dive to that position as soon as the alarm is off.
So on a windy day blinds are open, wind alarm active. An automation sets blinds down at dusk. When the alarm ends blinds close. This wouldn't work when the entity was unavailable as the automation was running.

@BergenSoft
Copy link
Author

Good point, but in this case you wouldn’t need the disable feature. You can always let the control activated.

@marvin-w
Copy link
Member

See also: home-assistant/architecture#545

@farmio farmio transferred this issue from XKNX/knx-frontend Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants