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:
Ville Skyttä 2020-01-05 14:09:17 +02:00 committed by GitHub
parent 24b25b8917
commit 5216477353
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
139 changed files with 189 additions and 189 deletions

View file

@ -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
)

View file

@ -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
)

View file

@ -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,