* Use snapshot testing in NextDNS sensor
* Use snapshot testing in NextDNS switch
* Use snapshot testing in NextDNS binary sensor
* Use snapshot testing in NextDNS button
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update return signature of service calls
* Add timeout error handling in websocket api for service calls
* Update recorder tests to remove assertion on service call
* Remove timeout behavior and update callers that depend on it today
* Fix tests
* Add missing else
* await coro directly
* Fix more tests
* Update the intent task to use wait instead of timeout
* Remove script service call limits and limit constants
* Update tests that depend on service call limits
* Use wait instead of wait_for and add test
* Update homeassistant/helpers/intent.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* 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>