From 55a236f912bfa345e51c7256b1f16cde4112d36d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 19 Dec 2015 09:37:37 +0100 Subject: [PATCH] Update docstrings --- homeassistant/components/sensor/twitch.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/sensor/twitch.py b/homeassistant/components/sensor/twitch.py index 14a3190e07c..43077701f86 100644 --- a/homeassistant/components/sensor/twitch.py +++ b/homeassistant/components/sensor/twitch.py @@ -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