added sequences
This commit is contained in:
@@ -9,9 +9,30 @@ simple_app:
|
||||
- hello_world
|
||||
|
||||
Perimeter:
|
||||
dependencies:
|
||||
- rules
|
||||
- statemachine
|
||||
- hal
|
||||
# dependencies:
|
||||
# - rules
|
||||
# - statemachine
|
||||
# - hal
|
||||
module: perimeter
|
||||
class: Perimeter
|
||||
another_arg: 1234
|
||||
|
||||
sequence:
|
||||
office_on:
|
||||
name: Office On
|
||||
namespace: hass
|
||||
steps:
|
||||
- homeassistant/turn_on:
|
||||
entity_id: light.office_1
|
||||
brightness: 254
|
||||
- homeassistant/turn_on:
|
||||
entity_id: light.office_2
|
||||
brightness: 255
|
||||
- sleep: 31
|
||||
office_off:
|
||||
name: Office Off
|
||||
steps:
|
||||
- homeassistant/turn_off:
|
||||
entity_id: light.office_1
|
||||
- homeassistant/turn_off:
|
||||
entity_id: light.office_2
|
||||
@@ -19,3 +19,22 @@ parent_app:
|
||||
grand-parent_app:
|
||||
module: grand_parent
|
||||
class: GrandParent
|
||||
|
||||
|
||||
|
||||
|
||||
sequence:
|
||||
setup_tv:
|
||||
name: Setup TV
|
||||
namespace: hass
|
||||
steps:
|
||||
- homeassistant/turn_on:
|
||||
entity_id: switch.living_room_tv
|
||||
|
||||
- sleep: 30
|
||||
|
||||
- remote/send_command:
|
||||
entity_id: roku.living_room
|
||||
loop_step:
|
||||
times: 5
|
||||
interval: 0.5
|
||||
Reference in New Issue
Block a user