diff --git a/automations.yaml b/automations.yaml index 125beef..974e18c 100644 --- a/automations.yaml +++ b/automations.yaml @@ -58,6 +58,7 @@ fan_mode: '1' target: entity_id: climate.nilan + enabled: false - service: tts.google_translate_say data: entity_id: media_player.dining_room @@ -86,6 +87,7 @@ fan_mode: '2' target: entity_id: climate.nilan + enabled: false - service: tts.google_translate_say data: message: Tænder, velkommen hjem. @@ -280,3 +282,78 @@ input: tag_id: A5-CE-BA-AD show_id: '80234731' +- id: '1671130718711' + alias: Genvex Styrring + description: '' + trigger: + - type: carbon_dioxide + platform: device + device_id: b3d673e702e87dccc047a7ed97c83331 + entity_id: sensor.netatmo_simstrup_weather_indoor_co2 + domain: sensor + below: 700 + - type: carbon_dioxide + platform: device + device_id: b3d673e702e87dccc047a7ed97c83331 + entity_id: sensor.netatmo_simstrup_weather_indoor_co2 + domain: sensor + below: 1000 + above: 700 + - type: carbon_dioxide + platform: device + device_id: b3d673e702e87dccc047a7ed97c83331 + entity_id: sensor.netatmo_simstrup_weather_indoor_co2 + domain: sensor + below: 1200 + above: 1000 + - type: carbon_dioxide + platform: device + device_id: b3d673e702e87dccc047a7ed97c83331 + entity_id: sensor.netatmo_simstrup_weather_indoor_co2 + domain: sensor + above: 1200 + condition: [] + action: + - if: + - condition: numeric_state + entity_id: sensor.netatmo_simstrup_weather_indoor_co2 + below: 700 + then: + - service: climate.set_fan_mode + data: + fan_mode: '1' + target: + entity_id: climate.nilan + - if: + - condition: numeric_state + entity_id: sensor.netatmo_simstrup_weather_indoor_co2 + below: 1000 + above: 700 + then: + - service: climate.set_fan_mode + data: + fan_mode: '2' + target: + entity_id: climate.nilan + - if: + - condition: numeric_state + entity_id: sensor.netatmo_simstrup_weather_indoor_co2 + above: 1000 + below: 1200 + then: + - service: climate.set_fan_mode + data: + fan_mode: '3' + target: + entity_id: climate.nilan + - if: + - condition: numeric_state + entity_id: sensor.netatmo_simstrup_weather_indoor_co2 + above: 1200 + then: + - service: climate.set_fan_mode + data: + fan_mode: '4' + target: + entity_id: climate.nilan + mode: single diff --git a/dashboards/minimal/views/hjem.yaml b/dashboards/minimal/views/hjem.yaml index 8fde461..b542364 100644 --- a/dashboards/minimal/views/hjem.yaml +++ b/dashboards/minimal/views/hjem.yaml @@ -280,7 +280,7 @@ } - type: custom:room-card - title: Soveværelse + title: Sove entity: light.sove_gruppe icon: mdi:bed-double show_icon: true