Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Вопрос. А почему Вы убрали метод update_config? #13

Closed
maxifly opened this issue Feb 24, 2024 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@maxifly
Copy link

maxifly commented Feb 24, 2024

Не очень понимаю Ваши изменения.
В iniy.py у Вас прописан листенер на изменения конфига

async def async_update_options(hass: HomeAssistant, entry: ConfigEntry):
    # update entity config
    hass.data[DOMAIN][entry.entry_id].update_config(entry.options)

а в light.py Вы этот метод убрали.

Не могу понять зачем

@AlexxIT AlexxIT added the question Further information is requested label Feb 25, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Feb 25, 2024

В light он никогда не выполнялся

@maxifly
Copy link
Author

maxifly commented Feb 25, 2024

Ну он выполняется когда конфиг меняется через GUI

@AlexxIT AlexxIT added bug Something isn't working and removed question Further information is requested labels Mar 29, 2024
@AlexxIT AlexxIT self-assigned this Mar 29, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Apr 8, 2024

@AlexxIT AlexxIT closed this as completed Apr 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants