Classes | |
| class | TwitchSensor |
Functions | |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities) |
Variables | |
| string | ATTR_FOLLOW = "following" |
| string | ATTR_FOLLOW_SINCE = "following_since" |
| string | ATTR_FOLLOWING = "followers" |
| string | ATTR_GAME = "game" |
| string | ATTR_STARTED_AT = "started_at" |
| string | ATTR_SUBSCRIPTION = "subscribed" |
| string | ATTR_SUBSCRIPTION_GIFTED = "subscription_is_gifted" |
| string | ATTR_SUBSCRIPTION_TIER = "subscription_tier" |
| string | ATTR_TITLE = "title" |
| string | ATTR_VIEWERS = "viewers" |
| int | PARALLEL_UPDATES = 1 |
| string | STATE_OFFLINE = "offline" |
| string | STATE_STREAMING = "streaming" |
Support for the Twitch stream status.
| None homeassistant.components.twitch.sensor.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| string homeassistant.components.twitch.sensor.ATTR_FOLLOW = "following" |
| string homeassistant.components.twitch.sensor.ATTR_FOLLOW_SINCE = "following_since" |
| string homeassistant.components.twitch.sensor.ATTR_FOLLOWING = "followers" |
| string homeassistant.components.twitch.sensor.ATTR_GAME = "game" |
| string homeassistant.components.twitch.sensor.ATTR_STARTED_AT = "started_at" |
| string homeassistant.components.twitch.sensor.ATTR_SUBSCRIPTION = "subscribed" |
| string homeassistant.components.twitch.sensor.ATTR_SUBSCRIPTION_GIFTED = "subscription_is_gifted" |
| string homeassistant.components.twitch.sensor.ATTR_SUBSCRIPTION_TIER = "subscription_tier" |
| string homeassistant.components.twitch.sensor.ATTR_TITLE = "title" |
| string homeassistant.components.twitch.sensor.ATTR_VIEWERS = "viewers" |
| int homeassistant.components.twitch.sensor.PARALLEL_UPDATES = 1 |
| string homeassistant.components.twitch.sensor.STATE_OFFLINE = "offline" |