Update docstrings
This commit is contained in:
parent
a6a30c5f22
commit
55a236f912
1 changed files with 3 additions and 4 deletions
|
@ -1,12 +1,11 @@
|
|||
"""
|
||||
homeassistant.components.sensor.twitch
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Twitch stream status.
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
A sensor for the Twitch stream status.
|
||||
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/sensor.twitch/
|
||||
"""
|
||||
|
||||
from homeassistant.helpers.entity import Entity
|
||||
from homeassistant.const import ATTR_ENTITY_PICTURE
|
||||
|
||||
|
@ -46,7 +45,7 @@ class TwitchSensor(Entity):
|
|||
|
||||
@property
|
||||
def name(self):
|
||||
""" Returns the name of the device. """
|
||||
""" Returns the name of the sensor. """
|
||||
return self._channel
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Reference in a new issue