Renamed variables in Tuya (#57759)

This commit is contained in:
Franck Nijhof 2021-10-15 11:33:30 +02:00 committed by GitHub
parent b7c52d0485
commit b97d5a703c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 85 additions and 88 deletions

View file

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