Fix PEP257 issues
This commit is contained in:
parent
f6bc1a4575
commit
7035af6634
15 changed files with 75 additions and 64 deletions
|
@ -23,6 +23,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
|||
|
||||
class BinarySensor(BinarySensorDevice, Sensor):
|
||||
"""A binary sensor which is on when its state == CONF_VALUE_ON."""
|
||||
|
||||
required = (CONF_VALUE_ON,)
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue