* Use runtime_data to store data
* Use data type instead of CoordinatorDataT
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
* Add pylint plugin to check if coordinator is placed in its own module
* Remove unintended changes
* Remove pylint disable and let CI only fail on W,E,F
* Make check conventional
* Apply review suggestion
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use option instead
* Remove pylint arguments from pre-commit
* Partially revert "Remove pylint disable and let CI only fail on W,E,F"
---------
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>