From 439f7978c3d2db189915b66c9f8ebd97bd2f799c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=B8yer=20Iversen?= Date: Mon, 20 Aug 2018 22:42:48 +0200 Subject: [PATCH] fritzdect change to current_power_w (#16079) --- homeassistant/components/switch/fritzdect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/switch/fritzdect.py b/homeassistant/components/switch/fritzdect.py index 9c0f852846a..36a53edefc9 100644 --- a/homeassistant/components/switch/fritzdect.py +++ b/homeassistant/components/switch/fritzdect.py @@ -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)