-
This is an extract from #1017 to start kicking off an initial implementation. ContextWe want to know the temperature and humidity throughout the house. Home Assistant contains a lot of data points but it's not clear what they represent. Is the temperature sensor in the office the ambient temperature or the 3D printer nozzle temperature? ProposalTo solve this, I propose 2 new properties for the area registry:
Value resolution:
ConfigurationSince it's stored in the area registry, we would expand the existing area create/edit dialogs to allow setting these values. Potential Uses
ChangesSept 29, v3:
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 20 replies
-
This is good and I fully support, but I feel the initial implementation is
quite limited.
Could/should it be expanded to include CO2 and presence?
Presence is fundamental to know if any of these other data points (temp,
humidity, etc) actually matter. Ok the temp is high... But it nobody is in
the room it's ok.
CO2 is fundamental to knowing how healthy it is to be in a room.
…On Thu, Sep 12, 2024, 03:24 Paulus Schoutsen ***@***.***> wrote:
*This is an extract from #1017
<#1017> to start
kicking off an initial implementation.*
Context
We want to know the temperature and humidity throughout the house. Home
Assistant contains a lot of data points but it's not clear what they
represent. Is the temperature sensor in the office the ambient temperature
or the 3D printer nozzle temperature?
Proposal
To solve this, I propose 2 new properties for the area registry:
- temperature_entity_id: str | None: entity ID that contains the room
temperature. Either a sensor entity with TEMPERATURE device class or a
climate entity (current temperature entity)
- humidity_entity_id: str | None: entity ID that contains the room
humidity. Sensor entity with HUMIDITY device class
When this data is to be used, and it is not set (value is None), we will
use the oldest (using created_at) entity that is allowed for those values.
Configuration
Since it's stored in the area registry, we would expand the existing area
create/edit dialogs to allow setting these values.
Potential Uses
- Area cards on an automatically generated dashboard (ie default
dashboard) can show these values in badges instead of tiles.
- Give correct answers when a user asks Assist for the temperature in
a room
- We could offer area automation triggers
—
Reply to this email directly, view it on GitHub
<#1135>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACOZ736IYGWATRCQUD3HDDZWCRHXAVCNFSM6AAAAABOBXNQWOVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGE3TAMRZGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
What about a scope attribute on the entity? For a lot of these we could have an _attr_default_scope. For a hue motion sensor we'd default it to Scope.AREA. For something like an internal temperature, nozzle temperature etc we'd default it to Scope.DEVICE. I think there are cases where a device might default to area but the user might want to force it to device (I have inkbird temperature sensors in my fridge and freezer). |
Beta Was this translation helpful? Give feedback.
-
I have updated the proposal. We now allow storing multiple temperature and humidity values. It should be averaged when used. If a user wants something else than an average, they can use a template sensor. btw, it will open up the door to get area sensor entities, in case a user wants to see the average temperature of their area, or automate on it. |
Beta Was this translation helpful? Give feedback.
-
This proposal seems unnecessarily limited and not generic enough to my taste. Instead we could simply provide That way we support all the possible sensor types immediately. In fact we could even consider extending the support in this way to other entities, like light entities. If light entity would be added to |
Beta Was this translation helpful? Give feedback.
-
Will these values be accessible via templates? Something like: area_prop('bedroom', 'temperature') |
Beta Was this translation helpful? Give feedback.
-
We've approved this proposal in the architectural meeting. ✅ ../Frenck |
Beta Was this translation helpful? Give feedback.
We've approved this proposal in the architectural meeting. ✅
../Frenck