Renamed variables in Tuya (#57759)
This commit is contained in:
parent
b7c52d0485
commit
b97d5a703c
9 changed files with 85 additions and 88 deletions
|
@ -88,4 +88,4 @@ class TuyaBinarySensorEntity(TuyaEntity, BinarySensorEntity):
|
|||
@property
|
||||
def is_on(self) -> bool:
|
||||
"""Return true if sensor is on."""
|
||||
return self.tuya_device.status.get(self.entity_description.key, False)
|
||||
return self.device.status.get(self.entity_description.key, False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue