Description of problem:
I have a TP Link HS100 switch that I named "Bedroom Fan" with the Kasa app. Home Assistant correctly named the switch as "Bedroom Fan" prior to 0.61.0. After upgrading to 0.61, the switch is now named "TP-Link Switch". I believe this was broken by #11346. I think that adding the default name here is preventing pulling the name from the switch itself here.
Expected:
Home Assistant is able to get the switch name from the switch itself without having to do anything extra in the config.
Problem-relevant configuration.yaml entries and steps to reproduce:
Home Assistant release (
hass --version
): 0.61.0Python release (
python3 --version
): Python 3.5.3Component/platform: TP Link Switch
Description of problem: I have a TP Link HS100 switch that I named "Bedroom Fan" with the Kasa app. Home Assistant correctly named the switch as "Bedroom Fan" prior to 0.61.0. After upgrading to 0.61, the switch is now named "TP-Link Switch". I believe this was broken by #11346. I think that adding the default name here is preventing pulling the name from the switch itself here.
Expected: Home Assistant is able to get the switch name from the switch itself without having to do anything extra in the config.
Problem-relevant
configuration.yaml
entries and steps to reproduce: