Hi,
I used the integration of light bulbs and switches via YAML and not via config flow so as not to have to manually enter the configuration to each test.
Through YAML configuration is not possible to vary those values? Do you need to change the Light file as I did?
Perfect for async integration. I await the tests.
Have a good day
State is polled every 30s, so it might take up to that time before state is reflected. Perhaps you can verify that? This will fix itself once we merge the change to use a persistent connection, as state changes are pushed (and updated) immediately. Iâm gonna try to update some logging in that PR so we can merge today hopefully.
Of course, last night, as I told you, I modified that file for the correct functioning of my bulbs.
My settings:
DEFAULT_LOWER_BRIGHTNESS = 10
DEFAULT_UPPER_BRIGHTNESS = 1000
The asyncio is now merged so I updated the PR to use that, so now the state change should be immediate, can you please check @juan11perez ?
Edit: please note that you will need to close the Tuya app (or put the mobile in airplane mode) in order to operate your devices with this new PR.
Edit 2: it is not advised to post the localKeys of your devices online since someone might tamper with them⊠Iâd suggest you edit your post of the tuyadebug output hiding them. (Or, you can re-pair them with the app: this will generate new keys).
No, you should just configure them with the line: open_close_cmds: fz_zz
if you are using YAML config file, or select them from the drop-down menu if you are using config flow.
As an alternative, if you are not familiar with GitHub and checkouts and stuff, letâs just re-patch the code like you did before, and let us know if it worksâŠ
Edit: if you want to use gitHub, here is the link of the PR again:
I think itâs because you have your Tuya application working: as I said, some devices donât allow multiple connections. Try to kill the app or put your mobile in airplane mode