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

Enhancement request. Add is_locked attribute to climate entities #374

Closed
pcaouolte opened this issue Jun 17, 2023 · 5 comments
Closed

Enhancement request. Add is_locked attribute to climate entities #374

pcaouolte opened this issue Jun 17, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@pcaouolte
Copy link

Would it be possible to add an is_locked attribute to the Wiser climate entities please?

This would simplify automations by avoiding the need to check which devices are in the same room as a climate entity and then checking if those devices are locked.

It is possible that only some devices in the same room as the climate entity are locked so I suppose that the is_locked attribute state could be 'true', 'false' or 'part'. Alternatively the is_locked attribute state could contain the number of devices in the room which are locked.

Apologies if this is not the appropriate way to make this request. I am very new to github.

@msp1974
Copy link
Collaborator

msp1974 commented Oct 7, 2023

Had a look at this but struggling with how to make this make sense. The hub supports lights and blinds too in France so it doesnt necessarily make sense to just show all devices. What is your use case and maybe i can come up with something that helps.

@pcaouolte
Copy link
Author

Hi Mark,

Thank you for looking at it. I was trying to display a Lock icon when any of the TRV or room stats in a room are locked.
If I could check the climate entity for the room and know that a device in the room was locked then it would avoid having to look at each device in the room in turn to check if they are locked or not.
It's not a big deal. I've worked around it by checking each device in the room so that I can display this:
IMG_2376

@msp1974
Copy link
Collaborator

msp1974 commented Nov 5, 2023

@pcaouolte i haven't forgotten about this and will look at it during Nov.

msp1974 added a commit that referenced this issue Mar 4, 2024
@msp1974 msp1974 added the enhancement New feature or request label Mar 4, 2024
@msp1974
Copy link
Collaborator

msp1974 commented Mar 5, 2024

Sorry for the very long wait. This is now in v3.4.4, released earlier today.

@msp1974 msp1974 closed this as completed Mar 5, 2024
@pcaouolte
Copy link
Author

Thank you 👍

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

No branches or pull requests

2 participants