fritzdect change to current_power_w (#16079)
This commit is contained in:
1 parent
85a724e289
commit
439f7978c3
1 file changed
+1
-1
@@ -105,7 +105,7 @@ class FritzDectSwitch(SwitchDevice):
|
||||
return attrs
|
||||
|
||||
@property
|
||||
def current_power_watt(self):
|
||||
def current_power_w(self):
|
||||
"""Return the current power usage in Watt."""
|
||||
try:
|
||||
return float(self.data.current_consumption)
|
||||
|
||||
Reference in new issue
Block a user