Fix PEP257 issues
This commit is contained in:
parent
f6bc1a4575
commit
7035af6634
15 changed files with 75 additions and 64 deletions
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
The rest binary sensor will consume responses sent by an exposed REST API.
|
||||
Support for RESTful binary sensors.
|
||||
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/binary_sensor.rest/
|
||||
|
@ -52,7 +52,7 @@ class RestBinarySensor(BinarySensorDevice):
|
|||
|
||||
@property
|
||||
def name(self):
|
||||
"""Name of the binary sensor."""
|
||||
"""Return the name of the binary sensor."""
|
||||
return self._name
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue