From 7b0c88c54b3e5f12cbf0062a73d363120e0da517 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 14 Oct 2018 17:12:34 +0200 Subject: [PATCH] Update docstrings (#17435) --- homeassistant/components/sensor/api_streams.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/sensor/api_streams.py b/homeassistant/components/sensor/api_streams.py index ac9b15754d0..1fbef2c5896 100644 --- a/homeassistant/components/sensor/api_streams.py +++ b/homeassistant/components/sensor/api_streams.py @@ -2,7 +2,7 @@ Entity to track connections to stream API. For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.api_stream/ +https://home-assistant.io/components/sensor.api_streams/ """ import logging @@ -47,9 +47,9 @@ class StreamHandler(logging.Handler): self.entity.schedule_update_ha_state() -async def async_setup_platform(hass, config, async_add_entities, - discovery_info=None): - """Set up the API stream platform.""" +async def async_setup_platform( + hass, config, async_add_entities, discovery_info=None): + """Set up the API streams platform.""" entity = APICount() handler = StreamHandler(entity) @@ -68,7 +68,7 @@ async def async_setup_platform(hass, config, async_add_entities, class APICount(Entity): - """Entity to represent how many people are connected to stream API.""" + """Entity to represent how many people are connected to the stream API.""" def __init__(self): """Initialize the API count."""