Add ha-examples/automations.yaml
This commit is contained in:
33
ha-examples/automations.yaml
Normal file
33
ha-examples/automations.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
automation:
|
||||
- alias: Sleep Mode - Gammy Ember
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: scene.sleep_mode
|
||||
to: 'active'
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "pc/gammy/mode"
|
||||
payload: "ember slow"
|
||||
|
||||
- alias: Movie Mode - Gammy Neutral
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: scene.movie_mode
|
||||
to: 'active'
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "pc/gammy/mode"
|
||||
payload: "movie fast"
|
||||
|
||||
- alias: Daytime Auto Mode
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: scene.daytime
|
||||
to: 'active'
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "pc/gammy/mode"
|
||||
payload: "auto slow"
|
||||
Reference in New Issue
Block a user