I am trying to find an entity that must be in one dashboard card and use it to replace an entity in another card.
Using ZHA I have added a Sonoff TRVZB device.
Then I added a standard ‘Thermostat’ card to my Home Dashboard in a view called ‘Test Panel’ selecting the TRVZB device.
But this only shows the measured temperature from the TRV itself.
None of the other TRV controls / entities (setpoint) do or show anything.
I then also added a ‘Better Thermostat’ card, which just seems to work ok.
It shows the target setpoint from the TRV and can adjust it.
But it requires a separate temperature sensing device to measure room temperature for its control.
I have used a Sonoff SNZB-02D for this purpose. So the measured temperature display is from this device.
However, I would like to remove the SNZB-02D and use the TRV measured temperature in the ‘Better Thermostat’ configuration.
It doesn’t show up as a selectable entity when configuring the Better Thermostat. In fact I can’t find it anywhere.
But it must exist, as it is the only thing that works in the standard thermostat card.
I would like to find the code for the two thermostats and copy the measured TRVZB entity and replace the Better Thermostat card measured entity with it.
Is this possible and is it as easy as I seem to be making it?
I’ve used file editor to look in homeassistant/ directories expecting to find something related to ‘My Home Dash’ & Test Panel and then thermosat cards.
But I can’t find anything. Am I looking in the correct place?
Could anyone please give some guidance on how - (if it is possible) - this is done.
I’ve tried various searches, but no luck.
HA is on a RPi 4.
Core 2024.7.0
Supervisor 2024.08.0
Operating System 12.4
Frontend 20240703.0
So then, that entity is:-
climate.sonoff_trv_mels_thermostat
Thanks.
How do I now change the actual temperature measurement entity used in Better Thermostat card to use that, instead of the SNZB-02D it is currently using?
I realise the accuracy is compromised, but I wish to use this TRV (and maybe others if I can get it to work) as a ‘Passive Mode’ device.
It will not be capable of firing the boiler when the actual temperature drops below its setpoint.
But if other devices call for heat and fire the boiler, it can then provide heat for the room it’s in, up to its setpoint temperature.
It doesn’t need a separate room stat for this.
I may include some setpoint changes depending on night/day or winter/summer etc. from HA. Of course monitoring is also available in HA.
The central heating is actually controlled by a Drayton Wiser installation.
That has room stats in some rooms and not in others.
The iTRV’s are good enough for some rooms and there has been a passive mode introduced through HA, but I’m not happy with it.
So this would be an alternative.
TRV’s are cheaper also.
Some integrations only accept the state of an entity as input, but climate entities often have the heating mode as the state and then temperature values as attributes.
You might then need to make a template sensor that extract that attribute and present it as a state.
When in the Thermostat Card Configuration edit mode, there is a Features option.
The only option available in this is ‘Climate HVAC modes’. That adds two Mode buttons on the card.
You are correct, pressing the LH button selects Heat mode and the other values pop up.
I suspected the Better Thermostat was interfering with it, so have deleted that and removed the integration.
The standard card is now persistent when heat button is pressed.