azerty9971 / xtend_tuya

eXtend Tuya's integration
GNU General Public License v3.0
64 stars 7 forks source link

Not work after update #39

Closed fraizzo closed 4 months ago

fraizzo commented 4 months ago

Hi, i just update the integration and now there is a problem.

`Registratore: homeassistant.config_entries Fonte: config_entries.py:586 Prima occorrenza: 19:22:43 (1 occorrenze) Ultima registrazione: 19:22:43

Error setting up entry gg-110476445282266490383 for xtend_tuya Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/xtend_tuya/init.py", line 117, in async_setup_entry auth_type = AuthType(entry.options[CONF_AUTH_TYPE])


KeyError: 'auth_type'`
azerty9971 commented 4 months ago

Hello, Please update to the latest stable release :).

This should fix it.

Let me know if it worked ;)

fraizzo commented 4 months ago

i update to 1.2.6 stable now but same error:

`Registratore: homeassistant.config_entries Fonte: config_entries.py:586 Prima occorrenza: 20:23:09 (3 occorrenze) Ultima registrazione: 20:23:51

Error setting up entry gg-110476445282266490383 for xtend_tuya Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/xtend_tuya/init.py", line 121, in async_setup_entry auth_type = AuthType(entry.options[CONF_AUTH_TYPE])


KeyError: 'auth_type'`

P.s. i have to add openapi credentials?
azerty9971 commented 4 months ago

You should be forced to ;)

But it will definitely work if you add them... (and I recommend you to do it).

Version 1.2.7 should fix this (released just now)

fraizzo commented 4 months ago

You should be forced to ;)

But it will definitely work if you add them... (and I recommend you to do it).

Version 1.2.7 should fix this (released just now)

GG man, it's ok now!!!!

Really thanks

azerty9971 commented 4 months ago

Shouldn't* xD

Is it working with or without the OpenAPI credentials?

fraizzo commented 4 months ago

Without

Il Mer 17 Lug 2024, 20:36 azerty9971 @.***> ha scritto:

Shouldn't* xD

Is it working with or without the OpenAPI credentials?

— Reply to this email directly, view it on GitHub https://github.com/azerty9971/xtend_tuya/issues/39#issuecomment-2233996577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKI4LEF3J7XJDYAICITW63DZM22UBAVCNFSM6AAAAABLBCFUYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZTHE4TMNJXG4 . You are receiving this because you authored the thread.Message ID: @.***>