fritzdect change to current_power_w (#16079)

This commit is contained in:
Daniel Høyer Iversen 2018-08-20 22:42:48 +02:00 committed by Fabian Affolter
parent 85a724e289
commit 439f7978c3

View File

@ -105,7 +105,7 @@ class FritzDectSwitch(SwitchDevice):
return attrs return attrs
@property @property
def current_power_watt(self): def current_power_w(self):
"""Return the current power usage in Watt.""" """Return the current power usage in Watt."""
try: try:
return float(self.data.current_consumption) return float(self.data.current_consumption)