volvooncall: fix missing property. see vehicle when discovered. (#6144)
parent
aee8758fc1
commit
65ed85c6eb
|
@ -31,5 +31,6 @@ def setup_scanner(hass, config, see, discovery_info=None):
|
|||
vehicle.position['longitude']))
|
||||
|
||||
hass.data[DOMAIN].entities[vin].append(see_vehicle)
|
||||
see_vehicle(vehicle)
|
||||
|
||||
return True
|
||||
|
|
|
@ -42,6 +42,7 @@ class VolvoSwitch(VolvoEntity, ToggleEntity):
|
|||
"""Return the name of the switch."""
|
||||
return 'Heater'
|
||||
|
||||
@property
|
||||
def icon(self):
|
||||
"""Return the icon."""
|
||||
return 'mdi:radiator'
|
||||
|
|
Loading…
Reference in New Issue