Hide current temperature

Hi all

I would like to change the state of the current temperature with the value of a sensor (sensor.living_temperature)

and then if you can enter the fan speed.

This is my card

type: custom:stack-in-card
cards:
  - type: thermostat
    entity: climate.camera_da_letto
    features:
      - style: icons
        hvac_modes:
          - heat
          - cool
          - fan_only
          - dry
          - auto
          - 'off'
        type: climate-hvac-modes
    show_current_as_primary: true
  - type: grid
    square: false
    columns: 2
    cards:
      - type: custom:mushroom-entity-card
        entity: sensor.aqara_temp_ripostiglio_battery
        primary_info: state
        secondary_info: name
        name: Temp. Interna
        icon_color: green
      - type: custom:mushroom-entity-card
        entity: sensor.processor_use
        primary_info: state
        secondary_info: name
        name: Temp. Esterna
        icon_color: blue
  - type: custom:mini-graph-card
    entities:
      - entity: sensor.aqara_temp_ripostiglio_temperature
        name: Inside Temperature
        color: '#4caf50'
      - entity: sensor.aqara_temp_ripostiglio_humidity
        name: Outside Temperature
        color: '#2196f3'
        y_axis: secondary
    hours_to_show: 24
    line_width: 3
    font_size: 50
    animate: true
    show:
      name: false
      icon: false
      state: false
      legend: false
      fill: fade

and they attribute it to him

Thank you

I did someting like this via card-mod. Try the relevant parts from this as starting point.

        card_mod:
          style:
            ha-state-control-climate-temperature:
              $: |
                [class="label"] { display: none !important; }
                [class="label secondary"] {
                  font-size: 0px !important;
                  display: unset !important;
                }
                [class="label secondary"] ha-svg-icon {
                  display: none;
                }
                [class="label secondary"]::after {
                  content: "{{ states('sensor.heizung_wohnzimmer_actual_temperature')|round(0) }} °C";
                  font-size: var(--mdc-typography-body1-font-size, 1rem);
                  font-size: 16px;          
                }
                .container.sm [class="label secondary"]::after {    
                  content: "{{ states('sensor.heizung_wohnzimmer_actual_temperature')|round(0) }} °C";
                  font-size: var(--mdc-typography-body1-font-size, 1rem);
                  font-size: 14px;          
                }                

                .container.xs .label {
                    margin-top: -12px;
                }
                    
                .container.xs ha-big-number { font-size: 24px !important; }

Hi

doesn’t work

type: custom:stack-in-card
cards:
  - type: thermostat
    entity: climate.camera_da_letto
    features:
      - style: icons
        hvac_modes:
          - heat
          - cool
          - fan_only
          - dry
          - auto
          - 'off'
        type: climate-hvac-modes
    show_current_as_primary: true
    card_mod:
      style:
        ha-state-control-climate-temperature:
          $: |
            [class="label"] { display: none !important; }
            [class="label secondary"] {
              font-size: 0px !important;
              display: unset !important;
            }
            [class="label secondary"] ha-svg-icon {
              display: none;
            }
            [class="label secondary"]::after {
              content: "{{ states('sensor.ripostiglio_temperature')|round(0) }} °C";
              font-size: var(--mdc-typography-body1-font-size, 1rem);
              font-size: 16px;          
            }
            .container.sm [class="label secondary"]::after {    
              content: "{{ states('sensor.ripostiglio_temperature')|round(0) }} °C";
              font-size: var(--mdc-typography-body1-font-size, 1rem);
              font-size: 14px;          
            }                
    
            .container.xs .label {
                margin-top: -12px;
            }
                
            .container.xs ha-big-number { font-size: 24px !important; }

  
  - type: grid
    square: false
    columns: 2
    cards:
      - type: custom:mushroom-entity-card
        entity: sensor.aqara_temp_ripostiglio_battery
        primary_info: state
        secondary_info: name
        name: Temp. Interna
        icon_color: green
      - type: custom:mushroom-entity-card
        entity: sensor.processor_use
        primary_info: state
        secondary_info: name
        name: Temp. Esterna
        icon_color: blue
  - type: custom:mini-graph-card
    entities:
      - entity: sensor.aqara_temp_ripostiglio_temperature
        name: Inside Temperature
        color: '#4caf50'
      - entity: sensor.aqara_temp_ripostiglio_humidity
        name: Outside Temperature
        color: '#2196f3'
        y_axis: secondary
    hours_to_show: 24
    line_width: 3
    font_size: 50
    animate: true
    show:
      name: false
      icon: false
      state: false
      legend: false
      fill: fade
    

Might be related to this.

I’m using it with out. So either you go without as well or have to adapt the paths where needed.

Thank you so much!