Be consistent with Home Assistant and Hass.io spelling (#30500)
* Be consistent with Home Assistant spelling * Be consistent with Hass.io spelling
This commit is contained in:
parent
24b25b8917
commit
5216477353
139 changed files with 189 additions and 189 deletions
|
@ -76,7 +76,7 @@ class RainMachineBinarySensor(RainMachineEntity, BinarySensorDevice):
|
|||
|
||||
@property
|
||||
def unique_id(self) -> str:
|
||||
"""Return a unique, HASS-friendly identifier for this entity."""
|
||||
"""Return a unique, Home Assistant friendly identifier for this entity."""
|
||||
return "{0}_{1}".format(
|
||||
self.rainmachine.device_mac.replace(":", ""), self._sensor_type
|
||||
)
|
||||
|
|
|
@ -72,7 +72,7 @@ class RainMachineSensor(RainMachineEntity):
|
|||
|
||||
@property
|
||||
def unique_id(self) -> str:
|
||||
"""Return a unique, HASS-friendly identifier for this entity."""
|
||||
"""Return a unique, Home Assistant friendly identifier for this entity."""
|
||||
return "{0}_{1}".format(
|
||||
self.rainmachine.device_mac.replace(":", ""), self._sensor_type
|
||||
)
|
||||
|
|
|
@ -143,7 +143,7 @@ class RainMachineSwitch(RainMachineEntity, SwitchDevice):
|
|||
|
||||
@property
|
||||
def unique_id(self) -> str:
|
||||
"""Return a unique, HASS-friendly identifier for this entity."""
|
||||
"""Return a unique, Home Assistant friendly identifier for this entity."""
|
||||
return "{0}_{1}_{2}".format(
|
||||
self.rainmachine.device_mac.replace(":", ""),
|
||||
self._switch_type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue