Hello, l’m looking for some assistance with the following problem.
In the images below when I’ve Summer selected for the Heating Season, I’d like to show the Summer Hold Off Temperature setpoint but hide the Winter Hold Off Temperature setpoint. And vice versa with Winter selected for the Heating Season the opposite.
I’ve tried the template-entity-row mod but can’t seem to get it to work, any help would be appreciated.
Thanks for your reply. i created the two extra cards as you suggested, shown below.
It works fine but think it would look much better as just one card.
I’ve had a go at template-entity-row but know I’m nowhere close on that, any time I try put in something for state it saves as null.
I’ve also tried Stack In Card but also have got nowhere. Any help great received.
type: entities
entities:
- entity: input_boolean.heating_system_auto_off
- entity: sensor.openweathermap_temperature
name: Outside Temperature
- entity: binary_sensor.downstairs_heating_group
name: Downstairs Heating Group
icon: mdi:heating-coil
- entity: binary_sensor.upstairs_kitchen_heating_group
name: Upstairs & Kitchen Heating Group
icon: mdi:heating-coil
- entity: input_select.heating_season
- type: custom:template-entity-row
icon: mdi:car
name: Hold Off Temperature
condition: "{{is_state('input_select.heating_season', 'summer')}}"
state: null
- type: custom:template-entity-row
icon: mdi:car
name: Hold Off Temperature
condition: "{{is_state('input_select.heating_season', 'winter')}}"
state: null
show_header_toggle: false
state_color: true
You need to use a conditional card for each of the cards to hide and show them on demand, which is the Lovelace GUI way.
The alternative is to switch to YAML mode only editing and use Lovelace_gen, but it is a drastic change, if you are not well versed in YAML.