epenet
82f91bcd5f
Adjust migrate_entry in axis ( #63779 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 09:34:22 +01:00
epenet
545e321002
Add init type hints [a] ( #63098 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 21:17:05 -08:00
Robert Svensson
12a9695798
Use config_entry.on_unload rather than local listener implementation in Axis ( #49495 )
2021-04-20 08:53:05 -10:00
Robert Svensson
31ae121645
Add fixtures for Axis rtsp client and adapt tests to use them ( #47901 )
...
* Add a fixture for rtsp client and adapt tests to use it
* Better fixtures for RTSP events and signals
2021-04-09 10:56:53 +02:00
Franck Nijhof
8393a215e9
Clean up superfluous integration setup - part 1 ( #48476 )
2021-03-29 13:22:33 -10:00
Robert Svensson
94ecb792ec
Use async_update_entry rather than updating config_entry.data directly in Axis ( #46078 )
...
Don't step version in migrate_entry to support rollbacking
2021-02-06 13:17:52 +01:00
Robert Svensson
598a0d19b1
Normalise unique ID in Axis integration ( #45203 )
...
* Move adding unique id to config entry from setup_entry to migrate_entry
* Normalise unique ID
* MQTT subscribe should still use the serial number in the way the device itself expects
2021-01-16 01:01:14 +01:00
Robert Svensson
028689d6bd
Remove update on add signalling in Axis integration ( #41956 )
...
Minor clean up of the integration
2020-10-16 11:54:48 -05:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02:00
Robert Svensson
01d9366299
Improve Axis integration ( #36205 )
...
* Improve configuration
* Read new properties for basic device information
Improve tests by mocking less improving stability of tests
* Clean up in device tests
* Support new port management api
* Improve initializing data
* Bump dependency to v28
2020-05-31 20:00:15 +02:00
Robert Svensson
e6c58c9795
Axis - Code improvements ( #35592 )
...
* Adapt library improvements
Clean up integration and tests and make them more like latest changes in UniFi integration
* Bump dependency to v26
2020-05-14 10:49:27 +02:00
Robert Svensson
56657fa859
Axis - config flow use new helper functions ( #31286 )
...
* Make use of new config flow helpers
Simplify Axis entry config to work with config flow helpers
* Keep old device data for rollback purposes
2020-01-30 22:20:30 +01:00
Robert Svensson
63347ebeb5
Make Axis integration use config entry unique id ( #30461 )
...
* Make Axis integration use config entry unique id
2020-01-04 08:58:18 +01:00
Robert Svensson
bb55606d29
Axis - Remove manual configuration and legacy config file import ( #30365 )
...
* Remove manual configuration and legacy config file import
* Remove unused imports in tests after rebase
2020-01-03 14:25:31 -06:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Robert Svensson
a45df7aac9
Axis - improved internal parameter handling ( #23122 )
...
Will result in faster startup per entry due to less network data
2019-04-16 10:46:29 +02:00
Robert Svensson
60c787c2e6
Axis component support unloading entries ( #22692 )
...
* Add support for unloading entries
* Improve config entry tests
* Improve coverage for device
* Remove callback when relevant
2019-04-15 15:06:45 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Robert Svensson
8a0b210f87
Axis discovery updates host address ( #22632 )
...
* Discovery can update host on existing entries
* Add support in device to update host on entry update
* Fix tests and listener
* Fix hound comment
* Fix failing tests from cleanup
2019-04-02 11:13:11 -07:00
Robert Svensson
5f6037d563
Axis component reflect device availability ( #22401 )
2019-03-29 15:20:12 +01:00
Robert Svensson
52437f6246
Axis devices support device registry ( #22367 )
...
* Add support for device registry
* Fix test
2019-03-27 18:25:01 +01:00
Robert Svensson
6988fe783c
Axis config flow ( #18543 )
...
* Initial draft
* Add tests for init
Fix hound comments
* Add tests for device
Change parameter handling to make device easier to test
* Remove superfluous functionality per Martins request
* Fix hound comments
* Embedded platforms
* Fix device import
* Config flow retry
* Options default values will be set automatically to options in config entry before component can be used
* Clean up init
Add populate options
Fix small issues in config flow
Add tests covering init
* Improve device tests
* Add config flow tests
* Fix hound comments
* Rebase miss
* Initial tests for binary sensors
* Clean up
More binary sensor tests
* Hound comments
* Add camera tests
* Fix initial state of sensors
* Bump dependency to v17
* Fix pylint and flake8
* Fix comments
2019-03-24 16:16:50 +01:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Johann Kellerman
6511e11ec9
Config Validator: schema_with_slug_keys ( #20298 )
...
* schema_with_slug_keys
* Update config_validation.py
* Update config_validation.py
2019-01-21 16:36:04 -08:00
Robert Svensson
4579717317
Axis - prepare for config entry ( #17566 )
...
Make component more in line with other more modern components in preparation for config entry support.
2018-10-29 06:52:30 +01:00