Closed firstof9 closed 2 years ago
Thanks for reporting, can you try out v1.13-beta2?
Trying it out now.
2021-12-06 06:46:15 ERROR (MainThread) [homeassistant.components.switch] Error while setting up monitor_docker platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/monitor_docker/switch.py", line 109, in async_setup_platform
if includeContainer:
UnboundLocalError: local variable 'includeContainer' referenced before assignment
2021-12-06 06:46:15 ERROR (MainThread) [homeassistant.components.switch] Error while setting up monitor_docker platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/monitor_docker/switch.py", line 109, in async_setup_platform
if includeContainer:
UnboundLocalError: local variable 'includeContainer' referenced before assignment
oeps, that's a typo (unrelated to your issue) ... can you try 1.13-beta3? Should fix it now
Looks good no errors. Cheers! 🍻
Cool :-) Then i will release this v1.13-beta3 soon as an official one.
Op ma 6 dec. 2021 om 15:00 schreef Chris @.***>:
Looks good no errors. Cheers! 🍻
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ualex73/monitor_docker/issues/82#issuecomment-986802236, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQASXBJ353XYXKYIQHE3ULUPS6ZHANCNFSM5JNPGZQQ .
Error:
device_state_attributes
needs to be changed toextra_state_attributes
.