Entity Help

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.

summer
winter

If you want an easily understandable solution, make two cards and use the visibility tab.
For the row solution you need to post your yaml code.

Thanks for your reply. i created the two extra cards as you suggested, shown below.
summer
winter
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

I tried that code and I dont think that template-entity-row is fitting for any other entity type than a switch for controlling.

With your two cards look at this option for conditions and the state.
image

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.

Your first option is what I did in the end, works perfect. Thank you!

type: conditional
conditions:
  - condition: state
    entity: input_select.heating_season
    state: Summer
card:
  type: entities
  entities:
    - entity: input_boolean.heating_system_auto_off
    - entity: sensor.openweathermap_temperature
      name: "Outside Temperature "
    - entity: binary_sensor.heat_pump
      icon: mdi:heat-pump
    - entity: binary_sensor.downstairs_heating_group
      icon: mdi:heating-coil
    - entity: binary_sensor.upstairs_kitchen_heating_group
      icon: mdi:heating-coil
    - entity: binary_sensor.garage_heating
      icon: mdi:heating-coil
      name: Garage Heating
    - entity: input_select.heating_season
    - entity: input_number.summer_hold_off_temperature
      name: Hold Off Temperature
  state_color: true

type: conditional
conditions:
  - condition: state
    entity: input_select.heating_season
    state: Winter
card:
  type: entities
  entities:
    - entity: input_boolean.heating_system_auto_off
    - entity: sensor.openweathermap_temperature
      name: "Outside Temperature "
    - entity: binary_sensor.heat_pump
      icon: mdi:heat-pump
    - entity: binary_sensor.downstairs_heating_group
      icon: mdi:heating-coil
    - entity: binary_sensor.upstairs_kitchen_heating_group
      icon: mdi:heating-coil
    - entity: binary_sensor.garage_heating
      name: Garage Heating
    - entity: input_select.heating_season
    - entity: input_number.winter_hold_off_temperature
      name: Hold Off Temperature
  state_color: true

solution