core/tests/components/fritzbox
Paulus Schoutsen eee8566694
Differentiate between device info types (#95641)
* Differentiate between device info types

* Update allowed fields

* Update homeassistant/helpers/entity_platform.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Split up message in 2 lines

* Use dict for device info types

* Extract device info function and test error checking

* Simplify parsing device info

* move checks around

* Simplify more

* Move error checking around

* Fix order

* fallback config entry title to domain

* Remove fallback for name to config entry domain

* Ensure mocked configuration URLs are strings

* one more test case

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-07-10 09:56:06 -04:00
..
__init__.py Move calculation of current value into lib in Fritz!SmartHome (#89150) 2023-03-15 18:59:03 +01:00
conftest.py Differentiate between device info types (#95641) 2023-07-10 09:56:06 -04:00
const.py
test_binary_sensor.py Add entity name translations to AVM Fritz!SmartHome (#90707) 2023-04-03 13:04:09 -04:00
test_button.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00
test_climate.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00
test_config_flow.py Enable Ruff PT006 (#88165) 2023-02-15 14:09:50 +01:00
test_cover.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00
test_diagnostics.py Add type hints to integration tests (part 7) (#87980) 2023-02-13 09:53:09 +01:00
test_init.py Use has_template property from lib in Fritz!SmartHome (#89152) 2023-03-21 21:33:33 +01:00
test_light.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00
test_sensor.py Add type hints to integration tests (part 7) (#87980) 2023-02-13 09:53:09 +01:00
test_switch.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00