Ville Skyttä
|
5bf67cac66
|
Use RegistryEntryDisabler (#60436)
|
2021-12-15 23:25:40 +02:00 |
epenet
|
adf2fa5664
|
Use EntityCategory enum in Onewire (#60907)
* Use EntityCategory enum in Onewire
* Add checks for the entity_category
* Fix typo
Co-authored-by: epenet <epenet@users.noreply.github.com>
|
2021-12-03 09:20:00 -08:00 |
epenet
|
42793927f7
|
Use ATTR_VIA_DEVICE constant in onewire tests (#58405)
Co-authored-by: epenet <epenet@users.noreply.github.com>
|
2021-10-25 09:42:40 -04:00 |
epenet
|
c00a5fad8f
|
Cleanup device registration in Onewire (#58101)
* Add checks for device registry
* Move registry checks to init.py
* Run device registry check on disabled devices
* Empty commit for testing
* Register devices during initialisation
* Adjust tests accordingly
* Add via_device to device info
* Adjust access to device registry
Co-authored-by: epenet <epenet@users.noreply.github.com>
|
2021-10-22 11:45:40 +02:00 |
epenet
|
dfd2501c2c
|
Cleanup duplicate code in Onewire tests (#58082)
Co-authored-by: epenet <epenet@users.noreply.github.com>
|
2021-10-20 11:43:59 +02:00 |
epenet
|
1b0118a81b
|
Use constants in Onewire tests (#58017)
* Use ATTR_ENTITY_ID constant
* Add ATTR_UNIQUE_ID constant
* Add new attribute constants
* Fix missing ATTR_DEFAULT_DISABLED
Co-authored-by: epenet <epenet@users.noreply.github.com>
|
2021-10-19 21:41:01 +02:00 |
epenet
|
24737d4d1d
|
Use pytest fixtures on Onewire tests (#57973)
* Add pytest fixtures
* Add sysbus fixtures
* Adjust parameter name
Co-authored-by: epenet <epenet@users.noreply.github.com>
|
2021-10-18 19:16:53 +02:00 |
epenet
|
87dab02ce6
|
Remove YAML configuration from onewire (#53728)
|
2021-07-29 22:12:00 -07:00 |
Franck Nijhof
|
c68b259bd3
|
Cleanup of unused connection_class logic (#49865)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
|
2021-04-29 23:12:58 +02:00 |
Ville Skyttä
|
153d6e891e
|
Use config_entries.SOURCE_* constants (#49631)
|
2021-04-25 11:27:40 +02:00 |
Marc Mueller
|
1a38d2089d
|
Bump python-typing-update to v0.3.3 (#48992)
* Bump python-typing-update to 0.3.3
* Changes after update
|
2021-04-10 15:21:11 +02:00 |
epenet
|
86176f1bf9
|
Add retry mechanism on onewire sysbus devices (#48614)
* Add retry mechanism on sysbus
* Update tests
* Move to async
* Move blocking calls on the executor
|
2021-04-03 23:08:35 +02:00 |
epenet
|
81bdd41fdc
|
Cleanup orphan devices in onewire integration (#48581)
* Cleanup orphan devices (https://github.com/home-assistant/core/issues/47438)
* Refactor unit testing
* Filter device entries for this config entry
* Update logging
* Cleanup check
|
2021-04-01 15:06:47 +02:00 |
Franck Nijhof
|
65cf2fcb6f
|
Drop asynctest (#44746)
|
2021-01-01 22:31:56 +01:00 |
epenet
|
48d9f1a61b
|
Fix duplicate check on onewire config flow (#43590)
|
2020-11-24 21:44:31 +01: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 |
Paulus Schoutsen
|
ebe3cbc058
|
Drop usage of asynctests (#42756)
|
2020-11-02 19:57:24 +01:00 |
epenet
|
0de52c173c
|
Implement PlatformNotReady on onewire integration (#42395)
|
2020-10-26 16:33:13 +01: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
|
3cba25a892
|
Add test coverage for onewire (#40786)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
|
2020-10-14 10:19:12 +02:00 |