From 8d99c4a0cc756c2a3ba1f4f1b620708741aed0a6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 14 Oct 2015 10:38:08 +0200 Subject: [PATCH] Move configuration details to docs --- homeassistant/components/sun.py | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/homeassistant/components/sun.py b/homeassistant/components/sun.py index ce4dbd1e937..7765f1b7276 100644 --- a/homeassistant/components/sun.py +++ b/homeassistant/components/sun.py @@ -1,23 +1,10 @@ """ homeassistant.components.sun ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Provides functionality to keep track of the sun. -Event listener --------------- -The suns event listener will call the service when the sun rises or sets with -an offset. - -The sun event need to have the type 'sun', which service to call, which event -(sunset or sunrise) and the offset. - -{ - "type": "sun", - "service": "switch.turn_on", - "event": "sunset", - "offset": "-01:00:00" -} +For more details about this component, please refer to the documentation at +https://home-assistant.io/components/sun.html """ import logging from datetime import timedelta