* Onewire: Add diagnostic and config switches and binary_sensors
This commit adds diagnostic and config switches and binary_sensors to
the HobbyBoards devices. With these, the user will be able to configure
those devices, without having to run owwrite/owread commands outside
of HA.
* Address review from @epenet
* Add HB_HUB to DEVICE_SUPPORT_OWSERVER
* Device class and entity category enums
* Fixup merge breakage
* Remove duplicate lines
* Fix vis and IAD for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Add support for PRESSURE_CBAR (centibars). This is the standard UOM for tensiometers.
While the data could be converted into something like MBAR, and displayed
like that, the correct UOM for this type of sensor is CBAR. Displaying
it as MBAR would be the same as displaying air pressure as feet of Hg, while
technically correct, it's hard to understand when reading.
Adding support for this UOM will fix errors in the UI(statistics) about the unit not
matching a unit of the device_class.
* Add tests for PRESSURE_CBAR
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
* Add support for EDS0066
* Added a test
* Corrected entity_ids
* Added missing part of sensor entity id
* Add type hint
* Update tests/components/onewire/const.py
Co-authored-by: jan iversen <jancasacondor@gmail.com>
* Update tests/components/onewire/const.py
Co-authored-by: jan iversen <jancasacondor@gmail.com>
* Revert "Update tests/components/onewire/const.py"
This reverts commit 4a01b89868.
* Revert "Update tests/components/onewire/const.py"
This reverts commit 151eb9c0d3.
Co-authored-by: jan iversen <jancasacondor@gmail.com>
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
* Make async_get_device connections Optional, default None
* Remove unnecessary async_get_device connections arg usages
Some of these were using an incorrect collection type, which didn't
cause issues mostly just due to luck.