Public Member Functions | |
| def | climate_google_modes (self) |
| def | execute (self, command, data, params, challenge) |
| dict[str, Any] | query_attributes (self) |
| dict[str, Any] | sync_attributes (self) |
Public Member Functions inherited from homeassistant.components.google_assistant.trait._Trait | |
| None | __init__ (self, HomeAssistant hass, state, config) |
| def | can_execute (self, command, params) |
| dict[str, Any]|None | query_notifications (self) |
| dict[str, Any] | sync_options (self) |
Static Public Member Functions | |
| def | supported (domain, features, device_class, _) |
Static Public Member Functions inherited from homeassistant.components.google_assistant.trait._Trait | |
| def | might_2fa (domain, features, device_class) |
Static Public Attributes | |
| list | commands |
| dictionary | google_to_hvac = {value: key for key, value in hvac_to_google.items()} |
| dictionary | google_to_preset = {value: key for key, value in preset_to_google.items()} |
| dictionary | hvac_to_google |
| name = TRAIT_TEMPERATURE_SETTING | |
| dictionary | preset_to_google = {climate.PRESET_ECO: "eco"} |
Additional Inherited Members | |
Public Attributes inherited from homeassistant.components.google_assistant.trait._Trait | |
| config | |
| hass | |
| state | |
Trait to offer handling both temperature point and modes functionality. https://developers.google.com/actions/smarthome/traits/temperaturesetting
| def homeassistant.components.google_assistant.trait.TemperatureSettingTrait.climate_google_modes | ( | self | ) |
| def homeassistant.components.google_assistant.trait.TemperatureSettingTrait.execute | ( | self, | |
| command, | |||
| data, | |||
| params, | |||
| challenge | |||
| ) |
Execute a temperature point or mode command.
Reimplemented from homeassistant.components.google_assistant.trait._Trait.
| dict[str, Any] homeassistant.components.google_assistant.trait.TemperatureSettingTrait.query_attributes | ( | self | ) |
Return temperature point and modes query attributes.
Reimplemented from homeassistant.components.google_assistant.trait._Trait.
|
static |
Test if state is supported.
Reimplemented from homeassistant.components.google_assistant.trait._Trait.
| dict[str, Any] homeassistant.components.google_assistant.trait.TemperatureSettingTrait.sync_attributes | ( | self | ) |
Return temperature point and modes attributes for a sync request.
Reimplemented from homeassistant.components.google_assistant.trait._Trait.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |