epenet
5c992ec2cc
Remove cleanup_registry from onewire ( #60546 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:38:07 +01: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
Ville Skyttä
470f2dd73f
Upgrade pyupgrade to 2.21.2, apply its changes ( #52987 )
2021-07-19 10:46:09 +02:00
tkdrob
c0656878db
Normalize async_setup_entry ( #51161 )
2021-05-27 15:56:20 +02:00
epenet
d6c99a3db9
Enable strict type checks for onewire ( #50422 )
2021-05-11 17:28:17 +02:00
epenet
5d5122c2a4
Fix unique_id issue on onewire config entries ( #50161 )
2021-05-07 14:21:03 +02:00
J. Nick Koston
3f3f77c6e6
Reduce config entry setup/unload boilerplate N-P ( #49777 )
2021-04-27 20:42:21 +02:00
jan iversen
34b258e812
Rename HomeAssistantType —> HomeAssistant for integrations n* - p* ( #49559 )
2021-04-22 08:23:19 -10:00
Franck Nijhof
969c147b77
Clean up superfluous integration setup - part 4 ( #49295 )
...
* Clean up superfluous integration setup - part 4
* Adjust tests
2021-04-16 17:46:49 +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
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* 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
2021-03-02 21:43:59 +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
73f29a6cd4
Ensure consitstency of file docstring for 1-wire ( #40528 )
2020-09-24 16:39:24 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00