Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

Commit

Permalink
0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sdesalve committed Aug 20, 2021
1 parent 435e02f commit f82bb3b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions custom_components/zcsazzurro/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,6 @@ def __init__(self, rest, name):
self._state = False


# @property
# def native_value(self):
# """Return the state of the device."""
# value = self.dssoutput["thing.find"]["params"]["value"] == True
# _LOGGER.debug("Return the native_value: %s", value)
# return value


@property
def state(self):
"""Return the state of the device."""
Expand Down Expand Up @@ -320,7 +312,6 @@ def extra_state_attributes(self):
"energyConsuming": self.dssoutput["current.energyConsuming"]["params"]["value"],
"energyAutoconsuming": self.dssoutput["current.energyAutoconsuming"]["params"]["value"],
},
"developer": "@SDeSalve",
}
except TypeError:
_LOGGER.error("Error cannot find all required keys: %s", self.dssoutput)
Expand Down

0 comments on commit f82bb3b

Please sign in to comment.