ollo69 / ha_tuya_custom

Tuya Custom Component for testing
Apache License 2.0
39 stars 18 forks source link

Brightness is lowered automatically some time after manual change #26

Open TheFes opened 4 years ago

TheFes commented 4 years ago

I have several Tuya lights. When I change the brightness on them (either in HA, or by voice via Google Home) the brightness is lowered automatically after 5 minutes.

Light status at 10:08 AM, just after manually changing them status 10u08

Light status at 10:13, all brightness levels are lowered, without any manual intervention status 10-13

There are no automation in place to set the brightness (only for one of them, but it sets the brightness either to 1 or to 255, not to a level in between), so this can not be the cause.

Sometimes the change can be within a minute, sometimes it can be after 5, but it is changed every time.

TheFes commented 4 years ago

Did a check with the normal Tuya integration. Then this behavior is not shown.

ollo69 commented 4 years ago

But brightness just change in the slider position or also real brightness is changed?

TheFes commented 4 years ago

Brightness is actually changed

TheFes commented 4 years ago

Sorry, please ignore my comment of 2 days ago. The real brightness is not changed. I thought it was, because the light I used to check this has an automation active which changes the color temperature of the light. So it seemed less bright, but it was only warmer.

So, the brightness value throughout HA is lowered (triggering the automation described above), but the actual brightness of the light is not changed, and remains as is.

Due to this behaviour, I used the normal Tuya integration for a few days, but I'm back to Tuya Custom now. Besides the issue described in this topic, it works a lot better than the normal Tuya integration. So thanks for all your hard work on this!