Sami Heino
ee8d88e85c
Add support for EDS0068 onewire sensor ( #44029 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-01-26 23:07:04 +01:00
Ville Skyttä
2fb3be50ab
Make DeviceRegistry.async_get_device connections arg optional ( #44897 )
...
* 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.
2021-01-07 13:49:45 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Andreas Wrede
30f73a4962
Add discovery of sensors on DS2409 MicroLan ( #43599 )
...
* Add discovery of sensors on DS2409 MicroLan
* Add tests for coupler
* Update tests
* Fix isort
* Clean up
* Move tests to test_sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-12-07 02:09:32 +01:00
epenet
48d9f1a61b
Fix duplicate check on onewire config flow ( #43590 )
2020-11-24 21:44:31 +01:00
epenet
7c397a02b7
Add onewire switches ( #42962 )
...
* Add support for switches
* Fix stale comment
2020-11-08 12:06:41 -06:00
epenet
2b2d7558de
Add binary_sensor platform to onewire integration ( #42832 )
...
* Add binary_sensor platform to onewire integration
* Keep the same name
* Rework tests
* Rework tests
2020-11-07 20:42:20 -06:00
epenet
38495057a5
Cleanup onewire tests ( #42864 )
...
* Cleanup onewire tests
* Cleanup onewire tests
2020-11-05 10:37:35 -05:00
epenet
c7cdad2b5a
Default some entities to disabled ( #42797 )
2020-11-04 10:08:50 +01:00
Paulus Schoutsen
ebe3cbc058
Drop usage of asynctests ( #42756 )
2020-11-02 19:57:24 +01:00
epenet
f3a15eab6e
Discover onewire devices at startup ( #42410 )
2020-10-26 23:36:51 -05:00
epenet
0de52c173c
Implement PlatformNotReady on onewire integration ( #42395 )
2020-10-26 16:33:13 +01:00
epenet
c157a582b8
Add device_info to onewire sensors ( #42309 )
...
* Add device info
* Cleanup log
2020-10-25 18:05:02 +01:00
epenet
5db1474099
Add device_class information to onewire sensors ( #42308 )
2020-10-24 14:45:01 -05:00
epenet
2787a52ef7
Add onewire test for more devices ( #42037 )
...
* Add tests for device families 12 and 26
* Update patch import to tests.async_mock
2020-10-24 13:56:41 -05:00
epenet
6ef53a2c5d
Add config flow for One wire ( #39321 )
...
* Add support for config_flow
Add support for switches
Add support for binary sensors
* Add config flow strings
* Update .coveragerc
* black-formatting
* fixes for isort and flake
* fixes for pylint
* fixes for isort
* fixes for isort
* fixes for config_flow
* Add devices to Device Registry
* Updated comments
* fixes for flake8
* Updated comments
* Updated comments
* Implement async_unload_entry
* remove binary_sensor and switch implementation (will move to new PR)
* Update .coveragerc
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update .coveragerc
* Review config flow to store the configuration type
* Add config_flow tests
* Move CONF_NAMES to constants
* Fix isort
* Tweak to onewire logger
* Tweak to onewire logger for sensor
* Reset _LOGGER variable
* Normalise header
* Normalise header
* Update to use references in config flow translations
* Improve test coverage
* fixes for isort
* Update async_unload_entry
* Update common strings
* Update imports
* Move connect attempt to executor
* Update common strings
* Remove OWFS from config_flow
* Prevent duplicate config entries
* Fix isort
* Fix flake8
* Fix tests following removal of OWFS implementation
* Fix flake8
* Adjust config from yaml to config-flow, and add ability to specify sysbus directory
* Ajust unique_id for config entries
* Fix test_config_flow
* Fix invalid merge
* Convert yaml to config_entry
* Update sysbus tests
* Tweaks to yaml import process, and add OWFS warning
* Enable migration of OWFS platform config to config_entry
* update the existing corresponding config entry on OWFS conversion
* Remove CONFIG_SCHEMA
* Move data_schema to constants
* Remove log message
* Remove duplicate warning
* Update already_configured to use already_configured_device constant
* Schedule get_entities on the executor
* Update duplicate entry check for OWServer
* Review TryCatch
* Schedule os.path.isdir on the executor
* rename owhost/owport
* Update checks for empty
* Fix incorrect patch
* Move config_flow validation methods to new OneWireHub
* Fix typo and pre-commit
* Cleanup try/else
* patch async_setup/async_setup_entry
* cleanup implicit exit point
* Fix invalid patch
* cleanup implicit exit point
* cleanup implicit exit point
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-23 20:57:16 -05:00
epenet
ba789105ee
Add PRESSURE_CBAR to onewire constants ( #41826 )
2020-10-15 19:57:15 +02:00
epenet
3cba25a892
Add test coverage for onewire ( #40786 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-14 10:19:12 +02:00
epenet
843c4e27f3
Update Onewire SysBus integration to use a 3rd party library ( #40943 )
2020-10-09 17:31:05 +02:00