Hello !
I have a mystrom - wifi button. the integration work and i can use it in the automation.
But now i will after a automation the state change to off
But how? with homeassistant.turn_off doesn’t work
this is the code (create with the webgui)
- id: '1544470274535'
alias: MyStrom - Button - Eingang
trigger:
- entity_id: binary_sensor.eingang_long
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
entity_id: scene.bye
service: scene.turn_on
after this is the state ‘on’ but i will change it to ‘off’