Hi,
I use home assitant with tuya integration.
Everything works well, but I noticed that in the morning, I can turn ON my light, but I can’t turn it OFF anymore.
This is because my automation TOGGLEs the light:
# -----------------------------------------------
- id: '0x00158d000428fb20_action_single_right'
alias: (S09) switch action single_right
initial_state: true
trigger:
- entity_id: sensor.my_n01_p03_switch_s09_wandschakelaar_action
platform: state
to: single_right
action:
- entity_id: light.group_n01_p03_wastafel
service: light.toggle
# -----------------------------------------------
and apparently the new STATUS of the light is not recognized.
So
- light is off
- toggle command turns it on
- but status (in hass) seems to remain off
If I push my switch again,
- light is on but hass thinks its off
- hass sends command to turn it on (but it is already on)
If I just reload my Tuya automations, things works perfect for “a while”. Don’t know for witch period, but it I notice that in the morning it has above behavior
Does anybody has the same experience?
Resolution?
kind regards,
Bart