def async_describe_on_off_states(hass: HomeAssistantType, registry: GroupIntegrationRegistry) -> None: """Describe group on off states.""" registry.on_off_states( set(HVAC_MODES) - {HVAC_MODE_OFF}, STATE_OFF, )
def async_describe_on_off_states( hass: HomeAssistant, registry: GroupIntegrationRegistry ) -> None: """Describe group on off states.""" registry.on_off_states( {STATE_ON, STATE_PAUSED, STATE_PLAYING, STATE_IDLE}, STATE_OFF )
def async_describe_on_off_states(hass: HomeAssistantType, registry: GroupIntegrationRegistry) -> None: """Describe group on off states.""" registry.on_off_states( { STATE_ALARM_ARMED_AWAY, STATE_ALARM_ARMED_CUSTOM_BYPASS, STATE_ALARM_ARMED_HOME, STATE_ALARM_ARMED_NIGHT, STATE_ALARM_TRIGGERED, }, STATE_OFF, )
def async_describe_on_off_states(hass: HomeAssistant, registry: GroupIntegrationRegistry) -> None: """Describe group on off states.""" registry.on_off_states( { STATE_ECO, STATE_ELECTRIC, STATE_PERFORMANCE, STATE_HIGH_DEMAND, STATE_HEAT_PUMP, STATE_GAS, }, STATE_OFF, )
def async_describe_on_off_states(hass: HomeAssistant, registry: GroupIntegrationRegistry) -> None: """Describe group on off states.""" registry.on_off_states({STATE_PROBLEM}, STATE_OK)
def async_describe_on_off_states(hass: HomeAssistant, registry: GroupIntegrationRegistry) -> None: """Describe group on off states.""" registry.on_off_states( {STATE_CLEANING, STATE_ON, STATE_RETURNING, STATE_ERROR}, STATE_OFF)
def async_describe_on_off_states(hass: HomeAssistant, registry: GroupIntegrationRegistry) -> None: """Describe group on off states.""" registry.exclude_domain()
def async_describe_on_off_states(hass: HomeAssistant, registry: GroupIntegrationRegistry) -> None: """Describe group on off states.""" # On means open, Off means closed registry.on_off_states({STATE_OPEN}, STATE_CLOSED)
def async_describe_on_off_states(hass: HomeAssistantType, registry: GroupIntegrationRegistry) -> None: """Describe group on off states.""" registry.on_off_states({STATE_LOCKED}, STATE_UNLOCKED)