Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
2.7 kB
46
Indexable
Never

    # Configure a default setup of Home Assistant      (frontend, api, etc)
    default_config:

    # Text to speech
    tts:
      - platform: google_translate

    group: !include groups.yaml
    automation: !include automations.yaml
    script: !include scripts.yaml
    scene: !include scenes.yaml

    template:
        sensor:
          - name: "Reported Climate Kitchen"
            unique_id: "sensor.climate_kitchen"
            unit_of_measurement: "°C"
            state: "{{ state_attr('climate.wiser_kitchen',               'current_temperature') }}"
          - name: "Reported Climate Living Room"
            unique_id: "sensor.climate_living_room"
            unit_of_measurement: "°C"
            state: "{{ state_attr('climate.wiser_living_room',      'current_temperature') }}"
          - name: "Reported Climate Landing"
            unique_id: "sensor.climate_landing"
            unit_of_measurement: "°C"
            state: "{{ state_attr('climate.wiser_landing',      'current_temperature') }}"
          - name: "Reported Climate Spare Room"
            unique_id: "sensor.climate_spare_room"
            unit_of_measurement: "°C"
            state: "{{ state_attr('climate.wiser_spare_room',     'current_temperature') }}"
          - name: "Reported Climate Master Bedroom"
            unique_id: "sensor.climate_master_bedroom"
            unit_of_measurement: "°C"
            state:     "{{ state_attr('climate.wiser_master_bedroom',     'current_temperature') }}"

    sensor:
      - platform: min_max
        name: "Average Temperature Kitchen"
        round_digits: "1"
        type: "mean"
        entity_ids:
          - sensor.climate_kitchen
          - sensor.temperature_sensor_temperature
      - platform: min_max
        name: "Average Temperature Living Room"
        round_digits: "1"
        type: "mean"
        entity_ids:
          - sensor.climate_living_room
          - sensor.climate_sensor_living_temperature
      - platform: min_max
        name: "Average Temperature Landing"
        round_digits: "1"
        type: "mean"
        entity_ids:
          - sensor.climate_landing
          - sensor.ewelink_th01_b7a9ac23_temperature
      - platform: min_max
        name: "Average Temperature Spare Room"
        round_digits: "1"
        type: "mean"
        entity_ids:
          - sensor.climate_spare_room
          - sensor.climate_sensor_spare_temperature
      - platform: min_max
        name: "Average Temperature Master Bedroom"
        round_digits: "1"
        type: "mean"
        entity_ids:
          - sensor.climate_master_bedroom
          - sensor.ewelink_th01_375aad23_temperature