Classes | |
| class | SeasonSensorEntity |
Functions | |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities) |
| str|None | get_season (date current_date, str hemisphere, str season_tracking_type) |
Variables | |
| string | EQUATOR = "equator" |
| dictionary | HEMISPHERE_SEASON_SWAP |
| string | NORTHERN = "northern" |
| string | SOUTHERN = "southern" |
| string | STATE_AUTUMN = "autumn" |
| string | STATE_SPRING = "spring" |
| string | STATE_SUMMER = "summer" |
| string | STATE_WINTER = "winter" |
Support for Season sensors.
| None homeassistant.components.season.sensor.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| str | None homeassistant.components.season.sensor.get_season | ( | date | current_date, |
| str | hemisphere, | ||
| str | season_tracking_type | ||
| ) |
| string homeassistant.components.season.sensor.EQUATOR = "equator" |
| dictionary homeassistant.components.season.sensor.HEMISPHERE_SEASON_SWAP |
| string homeassistant.components.season.sensor.NORTHERN = "northern" |
| string homeassistant.components.season.sensor.SOUTHERN = "southern" |
| string homeassistant.components.season.sensor.STATE_AUTUMN = "autumn" |
| string homeassistant.components.season.sensor.STATE_SPRING = "spring" |
| string homeassistant.components.season.sensor.STATE_SUMMER = "summer" |