ABC consistent not implemented behavior (#2359)
This commit is contained in:
1 parent
c616115419
commit
68df3deee0
22 files changed
+56
-41
No files matched your search
@@ -108,7 +108,7 @@ def setup(hass, config):
|
||||
class SwitchDevice(ToggleEntity):
|
||||
"""Representation of a switch."""
|
||||
|
||||
# pylint: disable=no-self-use
|
||||
# pylint: disable=no-self-use, abstract-method
|
||||
@property
|
||||
def current_power_mwh(self):
|
||||
"""Return the current power usage in mWh."""
|
||||
|
||||
Reference in new issue
Block a user