core/tests/components/nest
PeteRager a7ddd592fb
Nest improve error message on climate actions (#86853)
* Nest - Climate - Error Messages

1. Error messages were incorrect for some methods, for example async_set_temperature was reporting failure to set hvac_mode. This is corrected.
2. Error messages were incomplete and were not including the entity_id,and the operation being performed that failed.
3. Add unit tests to test the exception handling

* Move tests into exiisting error test

* Improve readability of error message
2023-01-28 12:58:28 -08:00
..
__init__.py
common.py
conftest.py Upgrade pytest-aiohttp (#82475) 2022-11-29 22:36:36 +01:00
test_api.py Upgrade pytest-aiohttp (#82475) 2022-11-29 22:36:36 +01:00
test_camera_sdm.py
test_climate_sdm.py Nest improve error message on climate actions (#86853) 2023-01-28 12:58:28 -08:00
test_config_flow_legacy.py
test_config_flow_sdm.py
test_device_info.py
test_device_trigger.py
test_diagnostics.py
test_events.py
test_init_legacy.py
test_init_sdm.py
test_local_auth.py
test_media_source.py
test_sensor_sdm.py Replace the usage of unit constants by enumerations in Tests [m-n] (#85935) 2023-01-15 15:45:00 +01:00