Robert Svensson
b67e9b28d6
Fix Axis reconfigure step not providing protocols as alternatives but as string ( #114889 )
2024-04-05 09:47:49 +02:00
Robert Svensson
2e2b40f77e
Add reconfigure flow to Axis integration ( #114067 )
2024-03-24 12:48:19 +01:00
Robert Svensson
5b5ff92a05
Support configuring Axis to use HTTPS ( #113271 )
2024-03-15 18:58:49 +01:00
Joost Lekkerkerker
690ba103ed
Improve lists in integrations [A] ( #113006 )
...
* Use list comprehension [A]
* Use list comprehension [A]
* Update homeassistant/components/aws/notify.py
2024-03-11 16:17:44 +01:00
Robert Svensson
020b656f51
Split out Axis config data ( #112825 )
...
Split out config data
2024-03-09 13:00:25 -05:00
Marc Mueller
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
Robert Svensson
ece5587e1f
Streamline naming in the Axis integration ( #112044 )
...
* Rename device.py to hub.py
* Rename AxisNetworkDevice to AxisHub
* Move hub.py into hub package
* Rename get_axis_device to get_axis_api
* Split out get_axis_api to its own module
* Rename device object to hub
* Rename device to api in config flow
* Convenience method to get hub
2024-03-02 11:32:51 -05:00
Robert Svensson
c770c6c78f
Apply better names to a couple of dicts in Axis config flow ( #111964 )
...
Apply better names to a couple of dicts
2024-03-02 07:10:34 +01:00
Erik Montnemery
6fe28d3764
Migrate integrations a-d to generic flowhandler ( #111861 )
2024-02-29 20:07:14 +01:00
Robert Svensson
c478b1416c
Adapt Axis integration to library refactoring ( #110898 )
...
* Adapt Axis integration to library refactoring
* Bump axis to v49
2024-02-28 14:36:32 +01:00
Robert Svensson
be899b6ab6
Store Axis device with entry_id key rather than unique_id ( #85673 )
...
* Store Axis device with entry_id key rather than unique_id
* Fix review comments
2023-01-13 22:21:40 +01:00
epenet
ec823582eb
Use OptionsFlowWithConfigEntry in axis ( #82804 )
2022-11-28 07:39:47 +01:00
Robert Svensson
c16db4c3e1
Make Axis utilise forward_entry_setups ( #75178 )
2022-07-28 11:41:03 +02:00
epenet
ef5fccad9e
Use standard argument name in async_step_reauth ( #74139 )
2022-06-28 23:23:32 +02:00
epenet
1482a8f73a
Adjust config-flow type hints in axis ( #72387 )
2022-05-24 17:01:08 +02:00
epenet
a29990a784
Use new CONF_MODEL core constant (1/3) ( #68829 )
...
* Use CONF_MODEL in axis
* Use CONF_MODEL in denonavr
* Use CONF_MODEL in flux_led
* Use CONF_MODEL in konnected
* Use CONF_MODEL in steamist
* Use CONF_MODEL in tellstick
* Use CONF_MODEL in tensorflow
* Use CONF_MODEL in twinkly
* Use CONF_MODEL in yeelight
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 11:11:58 +02:00
Robert Svensson
1551da33ac
Expose Axis device configuration url from discovered entry ( #64517 )
2022-01-20 09:47:02 +01:00
epenet
8954609f6b
Use dataclass properties in axis discovery ( #60558 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:15:34 -10:00
epenet
ec1c52d945
Use dataclass for SsdpServiceInfo ( #59931 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 06:10:07 -10:00
epenet
476a59d248
Adjust async_step_dhcp signature for strict typing ( #59751 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 12:19:50 +01:00
epenet
b3ffc1e183
Adjust async_step_zeroconf signature for strict typing ( #59503 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 18:05:45 +01:00
epenet
e983370c27
Use zeroconf attributes (A-D) ( #58835 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-02 12:27:06 -05:00
Robert Svensson
6ba2ee5cef
Fix stream profiles not available as expected ( #51305 )
2021-05-31 14:35:33 -07:00
jan iversen
60ae230499
Please mypy (axis). ( #49949 )
...
* Please mypy (axis).
* Update homeassistant/components/axis/config_flow.py
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2021-05-01 16:13:43 +02:00
Franck Nijhof
d4d0b93d3b
Clean up connection classes in integrations A-C ( #49888 )
2021-04-30 21:01:52 -10:00
Franck Nijhof
bc1daf1802
None optional hass typing in FlowHandler ( #46462 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
Robert Svensson
1e7e5220a3
Add SSDP discovery support to Axis integration ( #45474 )
...
* Add SSDP discovery support to Axis integration
* Remove unnecessary f-string
* Remove the last of the f-string...
2021-01-23 23:51:49 +01:00
Robert Svensson
03fb73c0ae
Option to select what video source Axis camera should use ( #45268 )
...
* Fully working proposal of config option to select what video source camera entity should use
* Bump dependency to v43
Reflect dependency changes in how image sources is now a dict
* Fix bdracos comment
2021-01-23 00:15:58 +01:00
Robert Svensson
b601e7e497
Introduce reauthentication flow to Axis integration ( #45307 )
2021-01-21 12:56:04 +01:00
Robert Svensson
3cc45697cb
Prettier Zeroconf discovery name for Axis devices ( #45216 )
...
* Change zeroconf name to be based of prettier name rather than hostname to help user understand what device is discovered
Have a full zeroconf discovery message in tests
Clean up unusued globals
* Use non-formatted serial number for config entry title as well
2021-01-16 18:59:57 +01:00
Robert Svensson
2044b33eb6
Add DHCP discovery support to Axis integration ( #45167 )
2021-01-16 11:03:56 +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
20c3fdfe14
Fix ignored Axis config entries doesn't break set up of new entries ( #44062 )
2020-12-09 17:48:16 +01:00
Dave T
33e69fe4bf
Update axis to use common strings ( #41164 )
...
* Update axis to use common strings
* Update common str device_unavailable to cannot_connect
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2020-10-06 16:54:18 +02:00
Robert Svensson
cf6043fc2d
Support Axis stream profile and configuring it through options flow ( #36322 )
...
* Support stream profile and configuring it through options flow
* Options flow test
* Allow configuration of not using a stream profile
* Shorten default stream profile string
2020-06-01 18:45:38 +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
J. Nick Koston
4a32a0f1da
Expand network util to check for link local addresses ( #33499 )
2020-04-01 11:24:30 -07: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
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
Ville Skyttä
761d7f21e9
Upgrade pylint ( #27279 )
...
* Upgrade pylint to 2.4.2 and astroid to 2.3.1
https://pylint.readthedocs.io/en/latest/whatsnew/2.4.html
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-1
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-2
* unnecessary-comprehension fixes
* invalid-name fixes
* self-assigning-variable fixes
* Re-enable not-an-iterable
* used-before-assignment fix
* invalid-overridden-method fixes
* undefined-variable __class__ workarounds
https://github.com/PyCQA/pylint/issues/3090
* no-member false positive disabling
* Remove some no longer needed disables
* using-constant-test fix
* Disable import-outside-toplevel for now
* Disable some apparent no-value-for-parameter false positives
* invalid-overridden-method false positive disables
https://github.com/PyCQA/pylint/issues/3150
* Fix unintentional Entity.force_update override in AfterShipSensor
2019-10-07 08:17:39 -07:00
Franck Nijhof
ad51615718
Use literal string interpolation in integrations A (f-strings) ( #26377 )
...
* Use literal string interpolation in integrations A (f-strings)
* Black
2019-09-03 09:11:36 -05:00
Robert Svensson
6102eb9f1c
Migrate Axis, deCONZ and UniFi to use config entry subclass ( #26173 )
...
* Use init_subclass for Config Entries
* Pylint cant handle subclass being the only user of imports
2019-09-01 13:15:48 +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
f43eca248a
Don't allow more than one config flow per discovered Axis device ( #24230 )
2019-05-31 15:51:55 -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
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