home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.23k stars 30.58k forks source link

TP-Link component not working if on of the switches is unreachable #21804

Closed X4LD1M0 closed 5 years ago

X4LD1M0 commented 5 years ago

Home Assistant release with the issue: 0.89.0

Last working Home Assistant release (if known): 0.88.2

Operating environment (Hass.io/Docker/Windows/etc.): Docker

Component/platform: https://www.home-assistant.io/components/tplink/

Description of problem: When one of my HS100 switches is not reachable, and at that moment HA restarts, the whole TP-Link component won't work, not even showing the other HS100 switches.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

tplink:
  discovery: false
  switch:
    - host: 192.168.99.10
    - host: 192.168.99.11
    - host: 192.168.99.12
    - host: 192.168.99.13
#    - host: 192.168.99.14
    - host: 192.168.99.15

Traceback (if applicable):

Additional information: I have hashed the relevant unit (192.168.99.14) so the others are working.

rytilahti commented 5 years ago

Duplicate of #21725, sorry for the trouble!

aalmarshad commented 5 years ago

I have the same issue