Fix Vicare unique_ids (#58531)
This commit is contained in:
parent
4be8d5ebde
commit
8e8ccb7ce4
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue