Robert Svensson
44f0728c60
Axis - Use core to start component tests ( #31328 )
...
* Fix test according to Martins comment in 31286
* Use core features rather than integration specific
* Fix populate options test
2020-01-31 20:23:51 +01: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
35e19eec18
Axis - Allow manual configuration to update existing configuration ( #30467 )
...
* Allow manual configuration to update existing configuration
* Harmonize tests
* Understand what Elupus means...
2020-01-05 10:11:17 +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
Robert Svensson
b57da2f862
Axis - Improve tests based on feedback ( #30430 )
...
* Use MockConfigEntry, add_to_hass and hass.config_entries.async_setup
* Mock method instead of handling paths
2020-01-03 13:27:14 +01:00
Robert Svensson
9b961632af
Axis - Improve tests ( #30415 )
2020-01-03 00:02:59 +01:00
Bas Nijholt
b0d0060643
sort imports according to PEP8 for axis ( #29621 )
2019-12-08 15:44:03 +01:00
Robert Svensson
6ffc520b1c
Axis - Improve discovery title by adding placeholder support ( #27663 )
...
* Improve discovery title by adding placeholder support
2019-10-16 20:45:03 +02:00
Robert Svensson
a2589f56e1
Add system options to config entries ( #25926 )
...
* Add system options to config entries
* For feedback
* Follow most of balloobs comments
* Fix balloobs comments
* Improvements
* Fix second round of Balloobs comments
* Fix third round
* Add system options to mock config entry
* Fix integration tests
* Fix the last failing tests
* Fix disabled string
* Fix failing disabled_by tests
* New tests
* Config entry WS API tests
* Fix comments
2019-08-17 21:34:11 -07:00
Paulus Schoutsen
6f357cb23e
First pass fixing tests that raise exceptions caught by asyncio.gather ( #25860 )
...
* First pass fixing tests that raise exceptions caught by asyncio.gather
* Fix demo test
* lint
2019-08-12 16:42:12 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Robert Svensson
34e3d2f997
Axis discovery MAC filter ( #24442 )
...
* Make sure to abort if the MAC is not from Axis
* Fix tests
* Andrew Sayre suggestion
Co-Authored-By: Andrew Sayre <6730289+andrewsayre@users.noreply.github.com >
2019-06-10 09:12:17 -07:00
Robert Svensson
636077c74d
Zeroconf discovery for config entries ( #23919 )
...
* Proof of concept
* Follow comments
* Fix line length and bad imports
* Move imports to top
* Exception handling for unicode decoding
Create debug print for new service types
Add empty test files
* First try at a test
* Add type and name to service info
Fix static check
* Add aiozeroconf to test dependencies
2019-05-21 15:36:26 -07:00
Robert Svensson
eb912be47a
Axis IO-port support ( #23312 )
...
Support digital inputs and supervised inputs, digital outputs and relays
2019-05-20 07:45:31 +02:00
Robert Svensson
0b7e62f737
Axis change how new event is signalled ( #23152 )
2019-04-17 15:21:42 +02: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
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