hass-core/homeassistant/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
..
translations [ci skip] Translation update 2022-07-10 00:27:48 +00:00
__init__.py Add NextDNS switch platform (#74512) 2022-07-11 16:00:13 +02:00
button.py Migrate NextDNS to new entity naming style (#74951) 2022-07-11 15:59:46 +02:00
config_flow.py
const.py Add NextDNS switch platform (#74512) 2022-07-11 16:00:13 +02:00
diagnostics.py Add NextDNS diagnostics platform (#74367) 2022-07-05 20:14:56 -07:00
manifest.json Bump NextDNS backend library (#74611) 2022-07-08 09:48:46 +02:00
sensor.py Migrate NextDNS to new entity naming style (#74951) 2022-07-11 15:59:46 +02:00
strings.json Add NextDNS system health (#74368) 2022-07-05 20:10:04 -07:00
switch.py Add NextDNS switch platform (#74512) 2022-07-11 16:00:13 +02:00
system_health.py Address NextDNS late review (#74503) 2022-07-06 14:29:26 +02:00