Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - id: test_line_webhook
- alias: test_line_webhook
- description: "Line指令"
- mode: single
- trigger:
- - platform: webhook
- webhook_id: 1234567
- condition: []
- action:
- - choose:
- - conditions:
- - condition: template
- value_template: "{{ trigger.json.events.0.message.text == '開除濕機' }}"
- sequence:
- - service: switch.turn_on
- entity_id: switch.bath_s31_plug
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement