title: Climate
path: climate
icon: mdi:thermometer
panel: true
cards:
  - type: custom:mod-card
    style:
      layout-card:
        $:
          horizontal-layout:
            $:
              .: |
                #columns {
                  margin: 0 20px;
                  grid-gap: 20px;
                }
    card:
      type: custom:layout-card
      layout_type: custom:horizontal-layout
      layout:
        max_cols: 3
      cards:
        - type: entities
          show_header_toggle: false
          entities:
            - input_boolean.heating_enabled
            - input_number.radiators_temperature
            - climate.living_room_radiator_mode
            - climate.bedroom_radiator_mode
            - climate.kitchen_radiator_mode
            - script.turn_on_all_radiators
            - type: divider
            - input_boolean.ac_heating
            - input_number.toshiba_heat_temp
            - input_number.toshiba_cool_temp
            - input_number.toshiba_trigger_temp
        - type: custom:decluttering-card
          template: climate_card
          variables:
            - title: "Living room"
            - main_entity: sensor.multisensor_6_temperature
            - left_entity: sensor.multisensor_6_relative_humidity
            - right_entity: sensor.multisensor_6_luminance
            - right_name: "Luminance"

        - type: custom:decluttering-card
          template: climate_card
          variables:
            - title: "Bedroom"
            - main_entity: sensor.bedroom_weather_temperature
            - left_entity: sensor.bedroom_weather_humidity
            - right_entity: sensor.bedroom_weather_pressure

        - type: custom:decluttering-card
          template: climate_card
          variables:
            - title: "Kitchen"
            - main_entity: sensor.kitchen_weather_temperature
            - left_entity: sensor.kitchen_weather_humidity
            - right_entity: sensor.kitchen_weather_pressure

        - type: custom:decluttering-card
          template: climate_card
          variables:
            - title: "Bathroom"
            - main_entity: sensor.bathroom_weather_temperature
            - left_entity: sensor.bathroom_weather_humidity
            - right_entity: sensor.bathroom_weather_pressure

        - type: custom:decluttering-card
          template: climate_card
          variables:
            - title: "Hallway"
            - main_entity: sensor.hallway_weather_temperature
            - left_entity: sensor.hallway_weather_humidity
            - right_entity: sensor.hallway_weather_pressure

        - type: custom:decluttering-card
          template: climate_card
          variables:
            - title: "Guest bedroom"
            - main_entity: sensor.guest_bedroom_weather_temperature
            - left_entity: sensor.guest_bedroom_weather_humidity
            - right_entity: sensor.guest_bedroom_weather_pressure
