mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix Vicare unique_ids (#58531)
This commit is contained in:
parent
4be8d5ebde
commit
8e8ccb7ce4
@ -159,7 +159,7 @@ class ViCareClimate(ClimateEntity):
|
|||||||
@property
|
@property
|
||||||
def unique_id(self):
|
def unique_id(self):
|
||||||
"""Return unique ID for this device."""
|
"""Return unique ID for this device."""
|
||||||
return f"{self._device_config.getConfig().serial}-climate-{self._circuit.id}"
|
return f"{self._device_config.getConfig().serial}-{self._circuit.id}"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def device_info(self):
|
def device_info(self):
|
||||||
|
@ -135,7 +135,7 @@ class ViCareWater(WaterHeaterEntity):
|
|||||||
@property
|
@property
|
||||||
def unique_id(self):
|
def unique_id(self):
|
||||||
"""Return unique ID for this device."""
|
"""Return unique ID for this device."""
|
||||||
return f"{self._device_config.getConfig().serial}-water-{self._circuit.id}"
|
return f"{self._device_config.getConfig().serial}-{self._circuit.id}"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def device_info(self):
|
def device_info(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user