mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Update docstrings
This commit is contained in:
parent
a6a30c5f22
commit
55a236f912
@ -1,12 +1,11 @@
|
|||||||
"""
|
"""
|
||||||
homeassistant.components.sensor.twitch
|
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
|
For more details about this platform, please refer to the documentation at
|
||||||
https://home-assistant.io/components/sensor.twitch/
|
https://home-assistant.io/components/sensor.twitch/
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
from homeassistant.const import ATTR_ENTITY_PICTURE
|
from homeassistant.const import ATTR_ENTITY_PICTURE
|
||||||
|
|
||||||
@ -46,7 +45,7 @@ class TwitchSensor(Entity):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
""" Returns the name of the device. """
|
""" Returns the name of the sensor. """
|
||||||
return self._channel
|
return self._channel
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user