Add ha-examples/test-publish.yaml
This commit is contained in:
24
ha-examples/test-publish.yaml
Normal file
24
ha-examples/test-publish.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
script:
|
||||
gammy_test_ember:
|
||||
alias: Test Gammy Ember
|
||||
sequence:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "pc/gammy/mode"
|
||||
payload: "ember snap"
|
||||
|
||||
gammy_test_movie:
|
||||
alias: Test Gammy Movie
|
||||
sequence:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "pc/gammy/mode"
|
||||
payload: "movie fast"
|
||||
|
||||
gammy_test_auto:
|
||||
alias: Test Gammy Auto
|
||||
sequence:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "pc/gammy/mode"
|
||||
payload: "auto slow"
|
||||
Reference in New Issue
Block a user