Replies: 2 comments 1 reply
-
I honestly think that the problem is that we have binary_sensors vs covers.
A door or window is a cover, no matter if it's actionable or not. IMHO,
Home Assistant should allow the easy creation of non-actionable covers from
binary_sensors.
…--
David Marín Carreño ***@***.***>
El lun, 13 may 2024 a las 10:00, Tudor Sandu ***@***.***>)
escribió:
At the moment, only a single domain can be used for querying entities.
Unfortunately, doors and windows are represented either as entities with {domain:
'cover', device_class: 'door'} or {domain: 'binary_sensor', device_class:
'door'} (and their window equivalents).
At some point, we decided that the cover domain should trump the
binary_sensor domain in sentences such as How many doors are open? and,
as such, people who have binary_sensor doors get a false response. That's
not a problem, it's a design decision that was made.
However, judging by my own experience, support questions and available
devices, I feel as though cover doors and windows are *FAR* less
prevalent than door/window sensors. I was wondering if it would not be a
good idea to change the sentences to point to the binary_sensor domain by
default.
—
Reply to this email directly, view it on GitHub
<#2168>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACHLVIZLRKM25NMKTYZGO3ZCBXKXAVCNFSM6AAAAABHTV3CQSVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGY2TSNBZHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Alternative solution proposed here home-assistant/architecture#1084 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At the moment, only a single
domain
can be used for querying entities. Unfortunately, doors and windows are represented either as entities with{domain: 'cover', device_class: 'door'}
or{domain: 'binary_sensor', device_class: 'door'}
(and theirwindow
equivalents).At some point, we decided that the
cover
domain should trump thebinary_sensor
domain in sentences such asHow many doors are open?
and, as such, people who havebinary_sensor
doors get a false response. That's not a problem, it's a design decision that was made.However, judging by my own experience, support questions and available devices, I feel as though
cover
doors and windows are FAR less prevalent than door/window sensors. I was wondering if it would not be a good idea to change the sentences to point to thebinary_sensor
domain by default.9 votes ·
Beta Was this translation helpful? Give feedback.
All reactions