You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some ELKO Super TR thermostats, and they work excellent with zigbee2mqtt. However, while the thermostat has a setting for determining what temperature sensor to use (air or floor), the exposed climate component will always use the air sensor. The floor sensor temperature is only available as a separate, exposed value. Since I use the floor sensor, this causes some confusion when using the thermostat inside Home Assistant.
I'm investigating how to get the climate component to display local_temperature based on what sensor is selected on the thermostat.
I did manage to change the climate component to always use the floor sensor value by creating an external converter that looks something like this:
As for making this into a more general solution, it seems I would need to obtain a reading of the sensor attribute first, and then using this to determine the value of the local_temperature property. But I'm not understanding how to accomplish this inside the devices/elko.js file.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have some ELKO Super TR thermostats, and they work excellent with zigbee2mqtt. However, while the thermostat has a setting for determining what temperature sensor to use (air or floor), the exposed climate component will always use the air sensor. The floor sensor temperature is only available as a separate, exposed value. Since I use the floor sensor, this causes some confusion when using the thermostat inside Home Assistant.
I'm investigating how to get the climate component to display
local_temperature
based on what sensor is selected on the thermostat.I did manage to change the climate component to always use the floor sensor value by creating an external converter that looks something like this:
As for making this into a more general solution, it seems I would need to obtain a reading of the
sensor
attribute first, and then using this to determine the value of thelocal_temperature
property. But I'm not understanding how to accomplish this inside the devices/elko.js file.Can anyone provide some assistance?
Beta Was this translation helpful? Give feedback.
All reactions