#Modifying an existing card. How to?

1 messages · Page 1 of 1 (latest)

viscid sigil
#

Hello everybody. I recently added a series of smart thermostats (sonoff) to our home. I already had temperature sensors at this point... and I feel they are quite accurate...
I am aware I can set a temperature offset in the devices... which seems to work.
I am using the thermostat-cards for these instances, but they always show the temperature of the given thermostat in that card. I'd like to allow for getting the value from another entity. Can anybody point me into the correct direction on how I'd go about this? Thanks in advance!

pearl crane
#

If you want to control your TRVs with a separate sensor it's best to use one of the "wrapper" thermostat integrations that exist (versatile thermostat, better thermostat) which let you combine them properly into a single climate entity which lets the thermostatcard do its thing. it's much more robust

viscid sigil
#

maybe I should even ditch my existing temperature sensors... but... I feel they are more accurate

pearl crane
#

also yeah, external sensors are much more accurate, the integrated ones in the TRV get thrown off because they are right next to something really hot - so tend to warm up faster than the room they're in

#

the other nice thing about VT and BT is you can group a bunch of radiators in a room together to let you control them as one

viscid sigil
#

exactly. I had some stuff infront of the radiator ...and the temperature difference to the external sensors is over 3° now

#

I'll give BT a try. The automation stuff seems overkill for me.... already done the automation were is stops the thermostat when a windows is opened (though, mine also activates the thermostat again when the window is closed and it was on before that)

pearl crane
#

i switched from BT to VT recently but apparently there might be some bugs in BT since the 2024.10.X update

viscid sigil
#

oh... better check the git bug reports then

pearl crane
viscid sigil
#

yikes

#

Versatile Thermostat doesn't look as nice though. Very text-heavy... no nice gfx

pearl crane
#

That said, I remember talking to that guy and he was... unhelpful when it came to debugging the problem

viscid sigil
#

ah, proud developer, eh?

pearl crane
#

Versatile does have a nice ui card based on the BT one, but it's not in hacs, you have to add it as a custom repository

viscid sigil
#

Ah, alright. didnt know

#

Found it

#

Will give it a try

pearl crane
viscid sigil
#

little overloaded :D, but I assume all those icons can be toggled? I'll have a total of 8 thermostats soon... only 4 for now

#

switching from those Kasa things to Sonoff as I want to have em controllable locally and interconnected with all the other smart stuff

pearl crane
#

yeah you can

#

most of the time i have the heat/auto/off row hidden

viscid sigil
#

Is something broken about the Number Tempalte? I can save just fine, but the UI always says "required key not provided @ data['set_value']. Got None" in the preview

#

Want to get the outside temperature from the attribute of a weather service entity

pearl crane
#

{{ 10 | float }}

#

still need the brackets

viscid sigil
#

stays the same

#

the "10" is just for testing.
I think this should be correct

{{ state_attr(states('weather.forecast_home'),'temperature') }}

#

maybe have to convert to float.... not sure.... but the preview is always broken

pearl crane
#

{{ state_attr('weather.forecast_home','temperature') }}

viscid sigil
#

ah, alright. let me check that one

#

Something is broken... even restarted HA

#

Okay, I probably need a sensor template

#

number is only int is seems...

pearl crane
#

Oh - it should just be a template sensor, not a template number

viscid sigil
#

Okay, yeah... sensor template works

pearl crane
#

sorry didn't realise what you were doing because of the language ^^

viscid sigil
#

now it wont let me remove the broken one

#

cause I dunno how to fix it

pearl crane
#

refresh your browser page

viscid sigil
#

tried. Still the red exclamation mark

pearl crane
#

and you can't then go into settings and delete? that's very strange

viscid sigil
#

thats all I get when opening the settings

pearl crane
#

sorry.. i don't know what to do with UI bugs other than refresh and hope it goes away 😛

viscid sigil
#

nah, I think I can delete it once I can manage to get it configured correctly...

#
#

Perfect. Added a random action and was now able to delete it. Very confusing