Commit Graph

383 Commits (drop-ignore-missing-annotations)

Author SHA1 Message Date
Robert Svensson 15b59d310a
Bump axis to v52 (#112632)
* Bump axis to v51

* Bump to v52
2024-03-08 07:42:37 +01:00
Robert Svensson fe0ba1141d
Fix handling missing parameter by bumping axis library to v50 (#112437)
Fix handling missing parameter
2024-03-05 21:41:20 -05:00
Robert Svensson 4eb24b2db7
Clean up setup and teardown of Axis integration (#112120) 2024-03-03 12:42:44 -05: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
J. Nick Koston 2516eafba6
Migrate axis to use async_update_entry to alter config entries (#110302) 2024-02-12 09:22:44 +01:00
Marc Mueller c82933175d
Use builtin TimeoutError [a-d] (#109678) 2024-02-05 11:31:33 +01:00
Marc Mueller f0d520d91f
Remove assert for unique_id (#106910)
* Remove assert for unique_id

* Use str | None return instead
2024-01-02 22:01:12 +01:00
Marc Mueller 1526c321f1
Enable strict typing for axis (#106844) 2024-01-02 20:55:59 +01:00
c0ffeeca7 2f0846bd87
Axis: add host and user name field description (#104693) 2023-11-30 08:12:39 +01:00
Joost Lekkerkerker af0b53cc79
Add serial number to Axis (#102522)
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2023-10-22 18:34:01 +02:00
J. Nick Koston ccb91e3676
Switch axis to use async_call_later (#99215) 2023-08-28 10:19:44 -05:00
J. Nick Koston 262483f3f6
Replace async_timeout with asyncio.timeout A-B (#98415) 2023-08-15 10:29:28 +02:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Robert Svensson 2820514c33
Break long strings in Axis integration (#97254) 2023-08-04 12:43:06 +02:00
Robert Svensson 1552319e94
Add Axis camera sources to diagnostics (#97063) 2023-07-23 17:56:58 +02:00
Robert Svensson cad0310193
Fix lingering timer in Axis library (#92143) 2023-04-28 11:41:21 +03:00
Erik Montnemery 3467f4674e
Remove unnecessary calls to `async_update_entry` from `async_migrate_entry` (#90575) 2023-03-31 15:53:35 +02:00
Robert Svensson d8f47c0e8c
Bump Axis to v47 (catch lingering tasks) (#88508)
Bump Axis to v47

Primary fix is to catch lingering tasks from create_task

https://github.com/Kane610/axis/compare/v46...v47
2023-02-20 22:58:57 +01:00
Erik Montnemery 231aad7a68
Sort manifests 1 (#87022) 2023-02-08 20:29:44 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
epenet 810367b757
Fix `can not` typo (#87254) 2023-02-03 11:37:16 +01:00
Franck Nijhof 5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
GitHub Action 71d7098530 [ci skip] Translation update 2023-01-27 00:25:12 +00:00
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Robert Svensson e43802eb07
Use more _attrs_* in Axis entities (#85555)
* Use _attr_available

* Use _attr_is_on

* Use _attr_name

* Make some values private

* Update names of axis entity base classes

* Fix review comments
2023-01-18 17:27:13 +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
Robert Svensson 7953c4a6d5
Clean up old config migration of Axis config (#85671)
* Revert Axis config flow version to 1

* Set up using hass.config_entries.async_setup

* Fix review comment

* Update homeassistant/components/axis/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-13 17:12:51 +01:00
Robert Svensson 1cdd535f21
Bump axis to v46 (#85431) 2023-01-09 12:43:40 +01:00
Robert Svensson 534bb74069
Bump axis to v45 (#84992) 2023-01-02 18:14:14 +01:00
GitHub Action b3ab0a0199 [ci skip] Translation update 2022-12-29 00:23:20 +00:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action a1eab7f842 [ci skip] Translation update 2022-12-04 00:23:06 +00:00
GitHub Action 0d1f476bee [ci skip] Translation update 2022-12-01 00:33:36 +00:00
GitHub Action 230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
epenet ec823582eb
Use OptionsFlowWithConfigEntry in axis (#82804) 2022-11-28 07:39:47 +01:00
GitHub Action f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action eaf6d43508 [ci skip] Translation update 2022-11-23 00:26:26 +00:00
GitHub Action 3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
GitHub Action fe5246fb6f [ci skip] Translation update 2022-11-19 00:26:11 +00:00
GitHub Action dcf68d768e [ci skip] Translation update 2022-11-09 00:27:20 +00:00
Robert Svensson 60a208a860
Add integration_type to Axis, deCONZ and UniFi manifest (#80630) 2022-10-19 21:56:19 +02:00
GitHub Action bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action 6e03b12a93 [ci skip] Translation update 2022-08-13 00:25:00 +00:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
epenet 8181da7090
Improve type hints in axis (#75910) 2022-07-30 11:04:31 +02:00
Robert Svensson c16db4c3e1
Make Axis utilise forward_entry_setups (#75178) 2022-07-28 11:41:03 +02:00
GitHub Action 79a0940932 [ci skip] Translation update 2022-07-17 00:25:56 +00:00
Robert Svensson 874043f596
Migrate Axis to new entity naming style (#74735) 2022-07-14 21:01:57 +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
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action 07706fa62a [ci skip] Translation update 2022-05-06 00:22:16 +00:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
epenet fde79e606d
Use ColorMode enum in axis (#70425) 2022-04-22 17:51:04 +02:00
epenet 246f4e081a
Use EntityFeature enum in components (a**) (#69333) 2022-04-05 23:42:05 +02:00
epenet ecd43f391f
Prettify json (manifest.json) (#68886) 2022-03-30 10:56:37 +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
GitHub Action c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
GitHub Action 102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
Franck Nijhof e26488b1ca
Add config flow to MJPEG IP Camera (#66607) 2022-02-18 00:03:41 -08:00
GitHub Action 208671418e [ci skip] Translation update 2022-02-16 00:14:09 +00:00
J. Nick Koston c5ae43144d
Enable dhcp flows for axis registered devices (#66581)
References:
https://github.com/home-assistant/developers.home-assistant/pull/1212
https://github.com/home-assistant/core/pull/66528

I am doing these one at a time to make sure codeowners are aware
and do not glance over the PR because it has a lot of integrations
in it
2022-02-15 21:32:10 +01:00
Franck Nijhof cbdbb66475
Fix integrations building on top of mjpeg (#66557) 2022-02-15 15:24:52 +01:00
GitHub Action ad0cb4831e [ci skip] Translation update 2022-02-14 00:15:30 +00:00
GitHub Action b2f0882e67 [ci skip] Translation update 2022-02-04 00:13:58 +00:00
epenet a63e5c7ded
Add type hints for config entry update listeners (#65412) 2022-02-02 03:36:04 -06:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
GitHub Action e591393f01 [ci skip] Translation update 2022-01-28 00:14:53 +00:00
GitHub Action 2aaca346bd [ci skip] Translation update 2022-01-25 00:14:30 +00:00
Robert Svensson 1b46575f29
Add diagnostics support to Axis integration (#64637)
* Add diagnostics support to Axis integration

* Remove system info

* Redact sensitive information

* Store whole config entry

* Redact username

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2022-01-23 22:52:08 +01:00
GitHub Action 47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
Robert Svensson 1551da33ac
Expose Axis device configuration url from discovered entry (#64517) 2022-01-20 09:47:02 +01:00
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 e5dcc5694a
Add switch setup type hints [a-f] (#63302)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:31:24 +01:00
epenet 7f9b7c7b0e
Add light setup type hints [a-i] (#63291)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:02:21 +01:00
epenet cbd3cd4599
Add camera setup type hints (#63277)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:22:41 +01:00
epenet fbabad1d1d
Add binary_sensor setup type hints [a-f] (#63268)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:10:41 +01:00
GitHub Action 93758e2e6c [ci skip] Translation update 2022-01-01 00:14:34 +00: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
GitHub Action cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
J. Nick Koston 615872a5d1
Align zeroconf matching with ZeroconfServiceInfo (#62133) 2021-12-19 02:09:21 -06:00
Marc Mueller d6f48683a3
Use platform enum (8) [Misc] (#61013) 2021-12-13 14:09:49 +01:00
epenet dff77e39ce
Use new BinarySensorDeviceClass enum in axis (#61291)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 22:09:19 +01:00
GitHub Action 68ca0a05c8 [ci skip] Translation update 2021-12-04 00:13:16 +00: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
GitHub Action 96313bbbe0 [ci skip] Translation update 2021-11-27 00:12:17 +00:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
GitHub Action e98977fb49 [ci skip] Translation update 2021-11-21 00:13:51 +00:00
GitHub Action 72b0eb719e [ci skip] Translation update 2021-11-20 00:12:27 +00:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00: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