hass-core/tests/components/switch_as_x
Erik Montnemery 4b2b4ae36b
Add invert option to switch_as_x (#107535)
* Add invert option to switch_as_x

* Store invert flag in entity options

* Add options flow

* Update strings

* Add tests

* Address review comment

* Update homeassistant/components/switch_as_x/strings.json

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Address review comments

* Inline get_suggested which was only used once in tests

* Address review comments

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-01-24 16:35:08 +01:00
..
__init__.py Add invert option to switch_as_x (#107535) 2024-01-24 16:35:08 +01:00
conftest.py Allow exposing entities not in the entity registry to assistants (#92363) 2023-05-02 22:08:09 +02:00
test_config_flow.py Add invert option to switch_as_x (#107535) 2024-01-24 16:35:08 +01:00
test_cover.py Add invert option to switch_as_x (#107535) 2024-01-24 16:35:08 +01:00
test_fan.py Add invert option to switch_as_x (#107535) 2024-01-24 16:35:08 +01:00
test_init.py Add invert option to switch_as_x (#107535) 2024-01-24 16:35:08 +01:00
test_light.py Add invert option to switch_as_x (#107535) 2024-01-24 16:35:08 +01:00
test_lock.py Add invert option to switch_as_x (#107535) 2024-01-24 16:35:08 +01:00
test_siren.py Add invert option to switch_as_x (#107535) 2024-01-24 16:35:08 +01:00
test_valve.py Add invert option to switch_as_x (#107535) 2024-01-24 16:35:08 +01:00