Renamed variables in Tuya (#57759)
This commit is contained in:
parent
b7c52d0485
commit
b97d5a703c
9 changed files with 85 additions and 88 deletions
|
@ -161,7 +161,7 @@ class TuyaSensorEntity(TuyaEntity, SensorEntity):
|
|||
return None
|
||||
|
||||
# Raw value
|
||||
value = self.tuya_device.status.get(self.entity_description.key)
|
||||
value = self.device.status.get(self.entity_description.key)
|
||||
if value is None:
|
||||
return None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue