added sequences

This commit is contained in:
John Lancaster
2025-02-03 23:11:26 -06:00
parent 2c7fd70945
commit e2e83ed579
2 changed files with 44 additions and 4 deletions

View File

@@ -9,9 +9,30 @@ simple_app:
- hello_world - hello_world
Perimeter: Perimeter:
dependencies: # dependencies:
- rules # - rules
- statemachine # - statemachine
- hal # - hal
module: perimeter module: perimeter
class: 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

View File

@@ -19,3 +19,22 @@ parent_app:
grand-parent_app: grand-parent_app:
module: grand_parent module: grand_parent
class: GrandParent 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