core/tests/components/nextdns
Maciej Bieniek c1a4dc2f22
Add NextDNS switch platform (#74512)
* Add switch platform

* Use lambda to get state

* Use async with timeout

* Add tests

* Use correct type

* Use Generic for coordinator

* Use TCoordinatorData

* Cleanup generic

* Simplify coordinator data update methods

* Use new entity naming style

* Remove unnecessary code

* Only the first word should be capitalised

* Suggested change

* improve typing in tests

* Improve typing intests

* Update tests/components/nextdns/__init__.py

* black

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-07-11 16:00:13 +02:00
..
__init__.py Add NextDNS switch platform (#74512) 2022-07-11 16:00:13 +02:00
test_button.py Add NextDNS button platform (#74492) 2022-07-06 16:29:53 +02:00
test_config_flow.py Search/replace RESULT_TYPE_* by FlowResultType enum (#74642) 2022-07-07 19:57:36 +03:00
test_diagnostics.py Bump NextDNS backend library (#74611) 2022-07-08 09:48:46 +02:00
test_init.py
test_sensor.py Bump NextDNS backend library (#74611) 2022-07-08 09:48:46 +02:00
test_switch.py Add NextDNS switch platform (#74512) 2022-07-11 16:00:13 +02:00
test_system_health.py