mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
fritzdect change to current_power_w (#16079)
This commit is contained in:
parent
85a724e289
commit
439f7978c3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user