core/tests/components/fritzbox
Florian Sabonchi aea5760424
Fix check for locked device in AVM Fritz!SmartHome (#141697)
* feat: raise execption on hvac mode while device is locked

* fix: test for setting hvac mode while device is locked.

* feat: update translation

* feat: add separate translations for HVAC and temperature

* fix: test cases

* fix: test cases for test_set_preset_mode_boost

* rev: code review

* rev: exception string

* feat: updated  error message and added helper function

* Update homeassistant/components/fritzbox/strings.json

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* fix: translation key

* remove check_active_or_lock_mode from async_set_preset_mode

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2025-05-03 20:25:27 +02:00
..
snapshots Migrate climate attributes to own entities in AVM Fritz!SmartHome (#143394) 2025-04-30 18:37:58 +02:00
__init__.py Add support for device sub units in AVM Fritz!SmartHome (#142845) 2025-04-14 22:19:14 +02:00
conftest.py
const.py
test_binary_sensor.py Migrate climate attributes to own entities in AVM Fritz!SmartHome (#143394) 2025-04-30 18:37:58 +02:00
test_button.py Use snapshot_platform in all platform test modules for AVM Fritz!SmartHome (#142093) 2025-04-03 00:14:07 +02:00
test_climate.py Fix check for locked device in AVM Fritz!SmartHome (#141697) 2025-05-03 20:25:27 +02:00
test_config_flow.py Use new ServiceInfo location in component tests (part 3) (#136064) 2025-01-20 13:16:59 +01:00
test_coordinator.py Migrate climate attributes to own entities in AVM Fritz!SmartHome (#143394) 2025-04-30 18:37:58 +02:00
test_cover.py Use snapshot_platform in all platform test modules for AVM Fritz!SmartHome (#142093) 2025-04-03 00:14:07 +02:00
test_diagnostics.py
test_init.py
test_light.py Use snapshot_platform in all platform test modules for AVM Fritz!SmartHome (#142093) 2025-04-03 00:14:07 +02:00
test_sensor.py Add support for device sub units in AVM Fritz!SmartHome (#142845) 2025-04-14 22:19:14 +02:00
test_switch.py Use snapshot_platform in all platform test modules for AVM Fritz!SmartHome (#142093) 2025-04-03 00:14:07 +02:00