Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: hasp_plate01_p1_Pokojt
- trigger:
- - platform: state
- entity_id: sensor.pokojt
- - platform: state
- entity_id: 'binary_sensor.plate01_connected'
- - platform: homeassistant
- event: start
- condition:
- - condition: state
- entity_id: 'binary_sensor.plate01_connected'
- state: 'on'
- action:
- - service: mqtt.publish
- data:
- topic: 'hasp/plate01/command/p[1].b[7].font'
- payload: '2'
- - service: mqtt.publish
- data:
- topic: 'hasp/plate01/command/p[1].b[7].txt'
- payload_template: '"{{ states.sensor.pokojt.state }}"'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement