mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-07 18:28:43 +00:00
and shorthand
This commit is contained in:
@@ -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