mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
and shorthand
This commit is contained in:
@@ -255,8 +255,7 @@ automation:
|
||||
entity_id: sensor.bedroom_weather_humidity
|
||||
below: 20
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
and:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.purifier_out_of_water
|
||||
state: "off"
|
||||
@@ -288,8 +287,7 @@ automation:
|
||||
entity_id: sensor.purifier_air_quality
|
||||
above: 30
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
and:
|
||||
- condition: state
|
||||
entity_id: input_boolean.someone_home
|
||||
state: "on"
|
||||
@@ -331,8 +329,7 @@ automation:
|
||||
entity_id: sensor.bedroom_weather_humidity
|
||||
above: 55
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
and:
|
||||
- condition: state
|
||||
entity_id: fan.philips_airpurifier
|
||||
state: "on"
|
||||
@@ -360,8 +357,7 @@ automation:
|
||||
entity_id: sensor.purifier_air_quality
|
||||
below: 20
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
and:
|
||||
- condition: state
|
||||
entity_id: fan.philips_airpurifier
|
||||
state: "on"
|
||||
|
||||
@@ -42,8 +42,7 @@ automation:
|
||||
device_ieee: !secret magic_cube_ieee
|
||||
command: knock
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
and:
|
||||
- condition: state
|
||||
entity_id: input_boolean.magic_cube_enabled
|
||||
state: "on"
|
||||
@@ -62,8 +61,7 @@ automation:
|
||||
device_ieee: !secret magic_cube_ieee
|
||||
command: rotate_left
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
and:
|
||||
- condition: state
|
||||
entity_id: input_boolean.magic_cube_enabled
|
||||
state: "on"
|
||||
@@ -84,8 +82,7 @@ automation:
|
||||
device_ieee: !secret magic_cube_ieee
|
||||
command: rotate_right
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
and:
|
||||
- condition: state
|
||||
entity_id: input_boolean.magic_cube_enabled
|
||||
state: "on"
|
||||
@@ -107,8 +104,7 @@ automation:
|
||||
device_ieee: !secret magic_cube_ieee
|
||||
command: knock
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
and:
|
||||
- condition: state
|
||||
entity_id: input_boolean.magic_cube_enabled
|
||||
state: "on"
|
||||
@@ -127,8 +123,7 @@ automation:
|
||||
device_ieee: !secret magic_cube_ieee
|
||||
command: rotate_left
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
and:
|
||||
- condition: state
|
||||
entity_id: input_boolean.magic_cube_enabled
|
||||
state: "on"
|
||||
@@ -147,8 +142,7 @@ automation:
|
||||
device_ieee: !secret magic_cube_ieee
|
||||
command: rotate_right
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
and:
|
||||
- condition: state
|
||||
entity_id: input_boolean.magic_cube_enabled
|
||||
state: "on"
|
||||
|
||||
@@ -120,8 +120,7 @@ script:
|
||||
|
||||
toshiba_ac_on_cool_if_hot:
|
||||
sequence:
|
||||
- condition: and
|
||||
conditions:
|
||||
- and:
|
||||
- "{{ states('sensor.multisensor_6_temperature')|float > states('input_number.toshiba_trigger_temp')|float }}"
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_apparent_temperature
|
||||
|
||||
Reference in New Issue
Block a user