You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a power outage, my Tuya light restores to the last state. It should default to off, like my other smart light bulbs. If I happened to have the Tuya light turned on when the power fails, I get woken up in the middle of the night when the power is restored.
Environment
Localtuya version: v5.2.2
Home Assistant Core version: 2024.11.4
[] Does the device work using the Home Assistant Tuya Cloud component ? Not sure
Have you tried setting the relay status on your tuya device using smartLife app?
If you want to use HomeAssistant
you can go to Developer Tools -> Actions
Search for LocalTuya: Set datapoint
Below is the data to be sent to the device device_id: "<device_id>" dp: 38 # This can be different for your device please check developer platform from tuya to use right ID value: "off" # Possible values -> "off" / "on" / "memory"
If this works for your case, you can then create a helper for dropdown and write automation on change in the dropdown selected value.
The problem
After a power outage, my Tuya light restores to the last state. It should default to off, like my other smart light bulbs. If I happened to have the Tuya light turned on when the power fails, I get woken up in the middle of the night when the power is restored.
Environment
Steps to reproduce
DP dump
Provide Home Assistant traceback/logs
Additional information
The text was updated successfully, but these errors were encountered: