Robert Svensson
84bd2067e4
Fix deCONZ groups don't report ctmax/min ( #36432 )
...
* Groups don't report ctmax/min
2020-06-04 10:02:39 -07:00
Robert Svensson
99318b7b11
Remove Axis option to enable/disable camera ( #36420 )
2020-06-04 14:25:50 +02:00
Robert Svensson
40829d9d76
Fix deCONZ groups don't report ctmax/min ( #36432 )
...
* Groups don't report ctmax/min
2020-06-04 10:15:30 +02:00
Robert Svensson
a8e7bf6cf7
Axis - bump dependency ( #36402 )
2020-06-03 10:23:31 +02:00
Robert Svensson
770b622a6e
Axis - Add device class property to binary sensors ( #36384 )
...
* Add device class property to binary sensors
* Update tests
2020-06-02 20:12:19 +02:00
Robert Svensson
37f7d262d7
Change deCONZ sensor device classes ( #36352 )
...
* Change vibration type to vibration instead of motion
* Also replace icon and unit of measurement
2020-06-02 16:17:21 +02:00
Robert Svensson
a3865fb383
UniFi - Increase time to mark UniFi devices as away ( #36366 )
2020-06-02 10:35:27 +02:00
Robert Svensson
a6e9a312a3
deCONZ - Don't send off signals to light if already off ( #36357 )
2020-06-02 00:20:52 +02:00
Robert Svensson
07469127ce
deCONZ - Add support for max/min mireds ( #36355 )
...
* Add support for max/min mireds reported per light from deconz .77
* Bump dependency
2020-06-01 23:48: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
Robert Svensson
376e0e0e93
Add Axis MQTT support ( #36015 )
...
* Working PoC
* Store
* Handle subscribing to MQTT and stopping stream when first telegram arrives
* Improve naming
* Now with test
* Better strings
* Fix Martins comments
* Improve mock device patching
* Bump dependency to v27
Add MQTT as after dependency
2020-05-25 23:13:34 +02:00
Robert Svensson
57bcb4743d
UniFi - Fix disabled entities being enabled after a restart ( #35819 )
...
* Async remove call removed too much, resulting in disabled entities coming back after a restart
* Calling super().async_remove is no longer needed, changed to self.async_remove
* Yes, they should be sets...
2020-05-20 08:55:06 +02:00
Robert Svensson
648df6d984
UniFi - Fix disabled entities being enabled after a restart ( #35819 )
...
* Async remove call removed too much, resulting in disabled entities coming back after a restart
* Calling super().async_remove is no longer needed, changed to self.async_remove
* Yes, they should be sets...
2020-05-19 23:57:41 +02:00
Robert Svensson
714047f789
Axis - Streamline setup and teardown of integration ( #35675 )
...
* Streamline setup and teardown of integration
* Dont remove integration twice
2020-05-15 23:56:09 +02:00
Robert Svensson
064321c21e
UniFi - Remove unused string definition, pointed out by Bram ( #35678 )
2020-05-15 23:43:00 +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
785b8d2bd1
UniFi - Sites don't declare role on UniFiOS 1.7.0 beta ( #35555 )
...
* New way to identify role, compatible with standalone controller or as part of unifios
* Remove error
* Bump dependency to v22
* Remove unused import
2020-05-13 00:37:16 +02:00
Robert Svensson
c71b6c8a71
UniFi - Update device registry after device has been upgraded ( #35430 )
...
* Update device registry if received event saying device has been updated
* Make sure event was the last updated
2020-05-10 17:14:45 +02:00
Robert Svensson
2f5c4b81ba
UniFi - Use more common strings for config flow ( #35399 )
...
* Use more common strings for config flow
* Remove unused strings
2020-05-09 22:22:53 +02:00
Robert Svensson
b62c7abc5d
UniFi - Additional consolidation for cleanliness sake ( #35395 )
...
* Some additional consolidation for cleanliness sake
* Remove unnecessary mac property
2020-05-09 00:34:18 +02:00
Robert Svensson
c8deae6445
UniFi - Make clients proper push based ( #35273 )
...
* Improve client tracker to be more comprehensible and streamlined
Improve block switches
Improve tests
* Small clean up
* Add descriptions on ssid test
* Improve test
* Make polling default off, only POE clients left to verify
* Minor improvements
* On removal cancel scheduled updates
* POE works without polling now
* Combine else and if to an elif
2020-05-08 22:19:27 +02:00
Robert Svensson
c19b222d5a
UniFi - Catch wlan_override without name key ( #35366 )
2020-05-08 09:51:10 -07:00
Robert Svensson
ddd6b9cff1
Capitalize kane610 in codeowners since scripts are case sensitive ( #35375 )
2020-05-08 14:14:10 +02:00
Robert Svensson
53f64bae09
UniFi - Make devices proper push based ( #35152 )
...
* Make devices proper push based
* Improve tests
* Bump dependency to v21
Update fix from #35295 to use library
2020-05-07 09:58:04 +02:00
Robert Svensson
6518249470
UniFi - Support SSID filter of SSIDs from access points with extra configuration ( #35295 )
2020-05-06 18:43:42 -07:00
Robert Svensson
5218b23fce
UniFi - Support SSID filter of SSIDs from access points with extra configuration ( #35295 )
2020-05-06 15:35:04 -07:00
Robert Svensson
c5ce95ff06
UniFi - Improve signalling and handling of adding new entities ( #34925 )
...
* Change signalling and handling of adding devices
* Bump aiounifi to v19
Use the proper variable for roamradio
2020-05-04 19:29:49 +02:00
Robert Svensson
2f374abc58
UniFi - Add support for 2.4/5 GHz separated SSIDs ( #35062 )
2020-05-02 14:55:24 -07:00
Robert Svensson
f445a81a4d
UniFi - Catch controllers running on UniFi OS that don't have a local user configured ( #35060 )
2020-05-02 14:55:23 -07:00
Robert Svensson
a2048b4c7a
UniFi - Catch controllers running on UniFi OS that don't have a local user configured ( #35060 )
2020-05-02 14:16:45 -07:00
Robert Svensson
221b07595f
UniFi - Add support for 2.4/5 GHz separated SSIDs ( #35062 )
2020-05-02 14:16:18 -07:00
Robert Svensson
77d89d13b6
UniFi - Disconnected clients wrongfully marked as wired not created ( #34986 )
2020-04-30 22:41:34 -07:00
Robert Svensson
72e7beeb76
UniFi - Add simple options flow ( #34990 )
2020-04-30 22:33:22 -07:00
Robert Svensson
7b90cbd2b2
UniFi - Disconnected clients wrongfully marked as wired not created ( #34986 )
2020-04-30 21:06:16 -07:00
Robert Svensson
bf424caf4a
UniFi - Add a second roaming event ( #34819 )
2020-04-28 22:23:52 -07:00
Robert Svensson
976457ccef
UniFi - Add a second roaming event ( #34819 )
2020-04-28 22:19:55 -07:00
Robert Svensson
b578a76efa
UniFi - Move some preloading of unavailable clients earlier in setup phase ( #34599 )
...
Improve readability of setting up switch platform
2020-04-23 21:29:38 +02:00
Robert Svensson
c3689d7416
UniFi - Store controller in config_entry.entry_id ( #34553 )
...
* Store controller in config_entry.entry_id
* Clean up imports
2020-04-23 16:48:24 +02:00
Robert Svensson
224c874673
UniFi - Improve logging related to loosing connection to controller ( #34547 )
2020-04-22 20:45:09 +02:00
Robert Svensson
193e9bec97
UniFi - Simplify config option of block clients to just a multi select drop down ( #34514 )
2020-04-21 20:45:48 -07:00
Robert Svensson
867138ebb8
UniFi - Only match ssid filter if ssid is present, this will only affect recently disconnected clients and clients which have a previously created entry in entity registry ( #34509 )
2020-04-21 21:13:19 +02:00
Robert Svensson
e004cd029a
UniFi - Improve handling of client tracker is connected to better respect configured delay ( #34510 )
2020-04-21 21:12:44 +02:00
Robert Svensson
f12bd7ad99
UniFi - Logs spam with not adding disabled entity ( #34479 )
...
* Proposed solution, unfortunately this makes the implementation less pretty
* Clarify why mac is registered in init
2020-04-21 06:17:14 +02:00
Robert Svensson
e5a861dc90
UniFi - refactor entity management ( #34367 )
...
* Move removal of sensor entities into a base class
* Fix martins comments on sensors
* Reflect sensor changes on device_tracker platform
* Reflect sensor changes on switch platform
* Improve layering
* Make sure to clean up entity and device registry when removing entities
* Fix martins comments
2020-04-19 21:30:06 +02:00
Robert Svensson
4484afc0d6
deCONZ - Always allow manual input of gateway ( #33951 )
...
* Always allow manual input of gateway
2020-04-17 23:51:35 +02:00
Robert Svensson
465eeab553
UniFi - Allow tracking of clients connected to third party APs ( #34067 )
...
* Allow disable wired bug work around
* Move small improvements from closed PR #34065
* Fix failing test
* Add new test
* Some extra logging
* Harmonize log outputs
* Add config flow string
* Fix Balloobs comments
2020-04-17 08:39:01 +02:00
Robert Svensson
374fe47809
UniFi - Support automatic removal of clients ( #34307 )
2020-04-16 15:08:53 -07:00
Robert Svensson
4337dd6864
UniFi - Fix unit of measurement from B to MB ( #34091 )
2020-04-13 17:01:29 -07:00
Robert Svensson
fc670e46d9
UniFi - Fix unit of measurement from B to MB ( #34091 )
2020-04-12 16:18:44 +02:00
Robert Svensson
bc036351f6
UniFi - Roaming clients should be considered connected ( #33942 )
...
* Roaming clients should be considered connected
* Bump dependency
2020-04-10 15:43:25 +02:00
Robert Svensson
15ab63a4c2
UniFi: Add UDM/P (UniFi OS) support ( #33766 )
...
* Fix get_controller and all tests:wq
* Bump dependency to v16
2020-04-08 23:19:39 +02:00
Robert Svensson
529656cf64
UniFi - Improve client tracker attributes based on connection ( #32817 )
...
* Improve client tracker attributes by setting them to None when client is disconnected
* Fix martins comment
2020-04-06 01:26:11 +02:00
Robert Svensson
314bc07cee
UniFi - Make POE control switches configurable ( #32781 )
...
* Allow control whether POE switches are to be created or not
* Fix options flow and test
2020-04-02 17:53:33 +02:00
Robert Svensson
2090252936
Axis - Fix char in stream url ( #33004 )
...
* An unwanted character had found its way into a stream string, reverting f-string work to remove duplication of code and improve readability
* Fix failing tests
2020-03-19 20:45:56 -07:00
Robert Svensson
ff2367fffb
deCONZ - Add support for Senic and Gira Friends of Hue remote… ( #33022 )
2020-03-19 16:40:50 -07:00
Robert Svensson
4c9303bbd5
Axis - Fix char in stream url ( #33004 )
...
* An unwanted character had found its way into a stream string, reverting f-string work to remove duplication of code and improve readability
* Fix failing tests
2020-03-19 16:30:38 -07:00
Robert Svensson
fa63dc1e25
UniFi - Improve expected SSID filter behavior ( #32785 )
...
* Improve expected ssid filter behavior
* Fix tests
2020-03-16 12:10:45 +01:00
Robert Svensson
374a8157e7
Remove manual configuration support ( #32699 )
2020-03-12 11:56:50 +01:00
Robert Svensson
015e779d56
UniFi - Client tracker schedules update on disconnect event ( #32655 )
2020-03-11 09:24:52 -07:00
Robert Svensson
16d7f84be7
UniFi - Fix block functionality ( #32625 )
...
* Fix block functionality
* Remove unrelated changes
* Bump dependency to v15
* Run requirement script
2020-03-10 18:27:25 +01:00
Robert Svensson
6d06844318
UniFi - Fix websocket bug ( #32449 )
2020-03-03 18:26:11 -08:00
Robert Svensson
02c8cd07f3
UniFi - Fix websocket bug ( #32449 )
2020-03-03 17:32:13 -08:00
Robert Svensson
6ea20090a4
UniFi - Temporary workaround to get device tracker to mark cli… ( #32321 )
2020-02-28 11:38:37 -08:00
Robert Svensson
f17462b159
UniFi - Temporary workaround to get device tracker to mark cli… ( #32321 )
2020-02-28 10:28:03 -08:00
Robert Svensson
a5d9e89d08
deCONZ - Race condition on slower systems ( #32274 )
...
When battery sensors gets created before other platforms loading deconz sensors gets created first the other platform would not create entities related to those battery sensors
2020-02-27 14:02:59 -08:00
Robert Svensson
e695bb55c8
deCONZ - Race condition on slower systems ( #32274 )
...
When battery sensors gets created before other platforms loading deconz sensors gets created first the other platform would not create entities related to those battery sensors
2020-02-27 20:48:01 +01:00
Robert Svensson
1007283da5
UniFi - Add unit of measurement to bandwidth sensors ( #32114 )
2020-02-23 19:17:26 +01:00
Robert Svensson
a745134128
deConz - Use proper mechanisms for options flow tests ( #31965 )
...
Generic clean up
2020-02-18 23:52:56 +01:00
Robert Svensson
774c892ee6
UniFi config option SSID filter ( #31842 )
...
* Draft
* Use new multi_select config validation
* Bump dependency to v13
* Improve options flow
* Add title to config options
* Add config option descriptions
* Fix martins comment
2020-02-18 23:24:21 +01:00
Robert Svensson
b5df2ba853
deCONZ - Directly reflect changes to config entry options ( #31661 )
...
* Directly reflect changes to config entry options
* Remove print
* Add tests
* Add title to config options
2020-02-18 13:24:25 -08:00
Robert Svensson
043d36f7c6
Change multi_select config validator to class ( #31828 )
...
* Move multi_select to class
* Fix serializer and add test
* Serializer should also return options
2020-02-14 11:09:40 -08:00
Robert Svensson
6211a2bb98
Add multi select support to config validation and to custom serializer ( #31798 )
2020-02-13 13:12:09 -08:00
Robert Svensson
4cac0443e2
UniFi - Change handling of updated options ( #31762 )
...
* Change handling of updated options
* Add tests
2020-02-12 16:15:08 -08:00
Robert Svensson
fce9697591
deCONZ - Revert from using disabled_by when setting options ( #31446 )
...
* Revert from using disabled_by when setting options
* Remove signalling for changed options
* Evaluate allow group option earlier when adding a group
2020-02-04 16:37:01 -08:00
Robert Svensson
aaea55efed
deCONZ - Services normalize bridge id ( #31378 )
...
* Services should also make sure to normalize bridge id since users do not know to manage themselves
2020-02-02 15:39:35 -08:00
Robert Svensson
59a9ca71ce
deCONZ - Add support for new switch type ( #31362 )
2020-02-02 15:39:33 -08:00
Robert Svensson
883b8f21ce
deCONZ - Library cleanup ( #31410 )
...
* Follow library changes
* Bump dependency to v70
* Fix test
2020-02-02 19:07:20 +01:00
Robert Svensson
1edaae34c5
UniFi - Log better information than a backtrace when poor switch data is involved ( #31382 )
2020-02-01 20:48:23 +01:00
Robert Svensson
43b11f6b39
deCONZ - Improve config flow logging ( #31381 )
2020-02-01 20:02:57 +01:00
Robert Svensson
e0704d73cc
deCONZ - Services normalize bridge id ( #31378 )
...
* Services should also make sure to normalize bridge id since users do not know to manage themselves
2020-02-01 18:11:05 +01:00
Robert Svensson
b373c202c9
deCONZ - Add support for new switch type ( #31362 )
2020-02-01 17:08:49 +01:00
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 and Martin Hjelmare
958a867c11
UniFi integration move to push messaging ( #31086 )
...
* Rewrite UniFi integration to use push messaging
* Add signalling for new clients/devices
* Update list of known wireless clients when we get events of them connecting
* Reconnection logic for websocket
* Fix failing tests
* Bump requirement to v12
* Add new tests
* Update homeassistant/components/unifi/controller.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com >
2020-01-31 20:23:25 +01:00
Robert Svensson
a8374cf423
UniFi - Try to discover local controller ( #31326 )
...
* Its working
* Use "unifi" as default host if a controller can be found
* Fix tests
* Make a fixture of patching the discovery function
2020-01-30 23:06:43 +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
111fc1fa8e
Use all new helper functions ( #31278 )
2020-01-29 16:21:23 -08:00
Robert Svensson
36675fe4fa
deCONZ - New light level sensor attribute ( #31255 )
2020-01-29 07:40:42 +01:00
Robert Svensson
07a0bc4abe
Fix service device refresh calling state update ( #30920 )
2020-01-17 15:46:10 -08:00
Robert Svensson
6ac33e5c7b
Fix issue with group unique id when normalising bridge id ( #30904 )
2020-01-17 15:44:09 -08:00
Robert Svensson
c9db21ffac
Fix service device refresh calling state update ( #30920 )
2020-01-17 15:33:46 -08:00
Robert Svensson
7b29a498c6
Fix issue with group unique id when normalising bridge id ( #30904 )
2020-01-17 15:28:34 -08:00
Robert Svensson
5a8311e9d8
Fix problem with restoring POE control ( #30597 )
2020-01-10 13:37:01 -08:00
Robert Svensson
d883ee62f8
deCONZ - Disable daylight sensor by default ( #30625 )
...
* Dont enable daylight sensor by default
* Fix tests
2020-01-10 19:57:08 +01:00
Robert Svensson
ff5f890e79
Fix problem with restoring POE control ( #30597 )
2020-01-08 22:33:51 +01:00
Robert Svensson
84a1afc785
deCONZ - Fix device automations ( #30577 )
2020-01-08 10:06:33 +01:00
Robert Svensson
0d48d682dc
deCONZ - Make sensors sorted on creation for deterministic order ( #30569 )
...
* Make sensors sorted on creation for deterministic order
* Martins comment
2020-01-08 09:30:02 +01:00
Robert Svensson
ce114b81c3
Handle wired bug on restart ( #30276 )
2020-01-06 22:01:05 +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
967fe89f6d
deCONZ - Allow manual configuration to update existing configuration ( #30469 )
...
* Allow manual configuration to update existing configuration
* Harmonize tests
2020-01-04 22:55:57 +01:00