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
|
||||
def unique_id(self):
|
||||
"""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
|
||||
def device_info(self):
|
||||
|
|
|
@ -135,7 +135,7 @@ class ViCareWater(WaterHeaterEntity):
|
|||
@property
|
||||
def unique_id(self):
|
||||
"""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
|
||||
def device_info(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue