Commit graph

9 commits

Author SHA1 Message Date
Maciej Bieniek
cb543a21b3
Address NextDNS late review ()
* Init instance attributes

* Remove condition

* Improve typing in tests

* Suggested change
2022-07-23 00:58:48 +02:00
Maciej Bieniek
5b555066ea
Add new NextDNS sensors () 2022-07-23 00:18:22 +02:00
Maciej Bieniek
c1a4dc2f22
Add NextDNS switch platform ()
* 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
Maciej Bieniek
fd7330ea77
Bump NextDNS backend library () 2022-07-08 09:48:46 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 19:57:36 +03:00
Maciej Bieniek
41fd1a24bb
Add NextDNS button platform ()
* Add button platform

* Add button tests

* Fix typo

* Use Platform enum

* Fix coordinator type
2022-07-06 16:29:53 +02:00
Maciej Bieniek
a70cb8af78
Add NextDNS diagnostics platform ()
Add diagnostics platform
2022-07-05 20:14:56 -07:00
Maciej Bieniek
f5e3344bfc
Add NextDNS system health ()
Add system_health
2022-07-05 20:10:04 -07:00
Maciej Bieniek
84119eefaa
Add NextDNS integration ()
* Initial commit

* Update manifest

* Add first test

* Simplify init

* More tests

* Update tests

* More tests

* More tests

* Add tests for sensor platform

* More tests for sensor platform

* Add tests for system_health

* Fix typo

* Improve test coverage

* Improve test coverage

* Add tests for diagnostics

* Add comment

* Run hassfest

* Fix typo

* Run gen_requirements_all

* Fix tests

* Change key name in diagnostics

* Remove diagnostics and system_health platforms

* Bump library
2022-07-03 09:51:50 -07:00