Handle alexa invalid climate temp adjustment (#99740)
* Handle temp adjust when target state not set * Update homeassistant/components/alexa/errors.py Co-authored-by: Robert Resch <robert@resch.dev> * black --------- Co-authored-by: Robert Resch <robert@resch.dev>
This commit is contained in:
parent
7a6c8767b3
commit
7c7456df99
3 changed files with 84 additions and 1 deletions
|
@ -90,6 +90,13 @@ class AlexaUnsupportedThermostatModeError(AlexaError):
|
|||
error_type = "UNSUPPORTED_THERMOSTAT_MODE"
|
||||
|
||||
|
||||
class AlexaUnsupportedThermostatTargetStateError(AlexaError):
|
||||
"""Class to represent unsupported climate target state error."""
|
||||
|
||||
namespace = "Alexa.ThermostatController"
|
||||
error_type = "INVALID_TARGET_STATE"
|
||||
|
||||
|
||||
class AlexaTempRangeError(AlexaError):
|
||||
"""Class to represent TempRange errors."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue