mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-02 09:17:35 +00:00
1.0 KiB
1.0 KiB
layout | title | description | date | sidebar | comments | sharing | footer | ha_category | logo | ha_iot_class | ha_release |
---|---|---|---|---|---|---|---|---|---|---|---|
page | Season Sensor | Instructions how to add season sensors into Home Assistant. | 2017-07-04 07:00:00 | true | false | true | true | Sensor | home-assistant.png | Local Polling | 0.53 |
This sensor will display the current astronomical or meteorological season (Spring, Summer, Autumn, Winter) based on the users setting in the config file.
All information about how the seasons work was taken from Wikipedia:
- https://en.wikipedia.org/wiki/Season#Astronomical
- https://en.wikipedia.org/wiki/Equinox
- https://en.wikipedia.org/wiki/Solstice
# Example configuration.yaml entry
sensor:
- platform: season
type: astronomical
Configuration variables:
- type (Optional): Type of season definition. Options are
meteorological
orastronomical
. Default isastronomical
.