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
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
2b26af89df
Improve tests based on Martins feedback from Axis improve tests ( #30442 )
2020-01-03 12:23:17 -06:00
Robert Svensson
ec61342ec3
deCONZ - Improve tests based on Martins feedback in Axis integration ( #30438 )
2020-01-03 18:11:04 +01:00
Robert Svensson
536b201472
WIP deCONZ - Support Fyrtur/Kadrilj battery sensors ( #30403 )
...
* Sensor.binary is None means unsupported sensor
* Don't create ordinary sensor on ZHABattery type
2020-01-03 15:15:32 +01: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
0a4f3ec1ec
Use config entry unique id for deCONZ ( #30122 )
...
* Use config entry unique id
* Clean up
* Backwards compatiblity note
* Fix some of Balloobs comments
* Bump dependency to v66
* Black somehow missed config flow tests...
* Move set unique ID til after possibility to update existing entry
2020-01-03 11:50:53 +01:00
Robert Svensson
9b961632af
Axis - Improve tests ( #30415 )
2020-01-03 00:02:59 +01:00
Robert Svensson
41d2d1f309
Handle wired bug on restart ( #30276 )
2019-12-30 12:40:52 -06:00
Robert Svensson
31b17e2b95
Allow battery value of 0 as well as make sure to not create a battery tracker if one already exist ( #30155 )
2019-12-22 22:58:36 +01:00
Robert Svensson
e9dc404de1
Allow battery value of 0 as well as make sure to not create a battery tracker if one already exist ( #30155 )
2019-12-22 22:58:22 +01:00
Robert Svensson
2fb36d3dea
UniFi - Handle disabled switches ( #29824 )
2019-12-11 15:55:09 +01:00
Robert Svensson
4dd1c51186
UniFi - honor detection time when UniFi wire bug happens ( #29820 )
2019-12-11 15:55:08 +01:00
Robert Svensson
4c9c22bc3a
Add more logging to help future debug situations ( #29800 )
2019-12-11 15:55:07 +01:00
Robert Svensson
856dd63680
Add more logging to help future debug situations ( #29800 )
2019-12-11 15:45:21 +01:00
Robert Svensson
99328bd4c1
UniFi - honor detection time when UniFi wire bug happens ( #29820 )
2019-12-10 20:05:18 +01:00
Robert Svensson
47e5142ddb
UniFi - Handle disabled switches ( #29824 )
2019-12-10 20:04:48 +01:00
Robert Svensson
f7015703bb
Only update disabled_by when enabled default and entity enabled states differ ( #29643 )
2019-12-10 13:04:05 +01:00
Robert Svensson
db0baab692
Only update disabled_by when enabled default and entity enabled states differ ( #29643 )
2019-12-10 11:02:26 +01:00
Robert Svensson
57a3f7d5c8
Pass in parameters explicitly to DeconzSession ( #29617 )
...
Dont pass in loop to DeconzSession
Services will use new refresh state method
2019-12-08 16:53:34 +01:00
Robert Svensson
bdb3eb1683
Handle case when device can be None ( #29171 )
2019-11-27 14:14:19 -08:00
Robert Svensson
c0e1b97119
deCONZ - Improve discovery logging ( #28452 )
2019-11-01 23:36:23 +01:00
Robert Svensson
6cc947abbf
deCONZ - Add Hue dimmer gen1 (rwl020) support to device triggers( #28450 )
2019-11-01 23:06:29 +01:00
Robert Svensson
557e585e56
deCONZ - Support creating battery sensor when reported ( #27538 )
2019-11-01 22:31:22 +01:00
Robert Svensson
62b09580c4
deCONZ - Add Xiaomi Aqara Cube device trigger support ( #27548 )
...
* Add Xiaomi Aqara Cube device trigger support
2019-11-01 22:29:34 +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
5c2bf6dc7c
Improve discovery title ( #27664 )
2019-10-14 14:15:46 -07:00
Robert Svensson
a8db8d8c0b
deCONZ - Update discovery address ( #27365 )
2019-10-09 21:44:02 +02:00
Robert Svensson
d345b58ce6
Improve UniFi config flow tests and add options flow test ( #27340 )
2019-10-08 14:44:33 -07:00
Robert Svensson
6565c17828
UniFi - Improve controller tests ( #27261 )
...
* Improve controller tests and harmonize setup_unifi_integration to one
* Store listeners to dispatchers to be used during reset
2019-10-07 21:55:35 +02:00
Robert Svensson
c7c88b2b68
UniFi - Bandwidth sensors ( #27229 )
...
* First draft of UniFi bandwidth sensors
* Clean up
* Add tests for sensors
2019-10-06 08:17:40 -07:00
Robert Svensson
a8567a746b
UniFi - Improve switch tests ( #27200 )
...
* Continue rewriting tests for UniFi
2019-10-05 16:16:08 +02:00
Robert Svensson
565302ed34
Improve device tracker tests ( #27159 )
2019-10-03 13:23:25 -07:00
Robert Svensson
d8c6b281b8
deCONZ - Support Symfonisk sound controller with device triggers ( #26913 )
...
* Device trigger tests shall use the common gateway mock
* Follow ebaauws clarification of signals
* Fix translations
2019-10-02 22:12:59 +02:00
Robert Svensson
09c5b9feb3
UniFi - Try to handle when UniFi erroneously marks offline client as wired ( #26960 )
...
* Add controls to catch when client goes offline and UniFi bug marks client as wired
* Device trackers shouldn't jump between going away and home
* POE control shouldn't add normally wireless clients as POE control switches
2019-10-02 21:43:14 +02:00
Robert Svensson
e2d7a01d65
Remove last of device tracker scanner ( #27082 )
2019-09-30 21:19:51 -07:00
Robert Svensson
cff7fd0ef3
deCONZ - Increase bridge discovery robustness in config flow ( #26911 )
2019-09-25 21:50:14 +02:00
Robert Svensson
4582b6e668
deCONZ - Improve ssdp discovery by storing uuid in config entry ( #26882 )
...
* Improve ssdp discovery by storing uuid in config entry so discovery can update any deconz entry, loaded or not
2019-09-25 18:56:31 +02:00
Robert Svensson
f5d12669a5
deCONZ improve gateway tests ( #26709 )
...
* Improve gateway tests
* Harmonize all tests to use the same gateway initialization method
* Improve scene tests
* Add gateway resync call to platform tests
* Forgot to change switch tests to use common gateway method
* Improve event tests
2019-09-19 14:44:09 -07:00
Robert Svensson
886d8bd6e2
deCONZ rewrite sensor tests ( #26679 )
...
* Improve binary sensor tests
* Fix sensor tests
* Improve readability of binary sensor
* Fix climate tests
Fix sensor platform not loading climate devices as sensors
* Add test to verify adding new sensor after start up
2019-09-18 10:07:32 -07:00
Robert Svensson
8a39924b37
deCONZ improve light tests ( #26697 )
...
* Improve light tests
* Small improvements on light and group classes
2019-09-18 12:47:26 +02:00
Robert Svensson
5116d02747
deCONZ - Improve service tests ( #26663 )
...
* Improve configure service tests
* Add refresh device service test
* Add tests for setup and unload services
* Remove refresh device test from test_init
* Extra verification of deconz services existance in hass.data
2019-09-16 10:08:13 +02:00
Robert Svensson
9c2053a251
deCONZ - Remove mechanisms to import a configuration from configuration.yaml ( #26648 )
2019-09-14 22:53:59 +02:00
Robert Svensson
41c9ed5d51
deCONZ - battery sensor instead of battery attribute ( #26591 )
...
* Allow all sensors to create battery sensors
* Neither binary sensor, climate nor sensor will have battery attributes
2019-09-14 19:15:18 +02:00
Robert Svensson
5885c3f353
Move deCONZ services to their own file ( #26645 )
2019-09-14 15:15:06 +02:00
Robert Svensson
fb1acfccc9
deCONZ - create deconz_events through sensor platform ( #26592 )
...
* Move event creation into sensor platform where it belongs
* Fixed the weird failing test observed during device automation PR
2019-09-14 00:16:37 +02:00
Robert Svensson
0221d136de
Remove support of UniFi device tracker configuration import ( #26587 )
2019-09-11 13:35:30 -06:00
Robert Svensson
c680c07c65
deCONZ device automations ( #26366 )
...
* Early draft
* Getting there
* Working fully with Hue dimmer remote
* Fix Balloobs comments
* No side effects in constructor
* Improve hue dimmer
* Add Ikea remote control
* Add xiaomi button support
* Refactor getting deconz event
* Added xiaomi devices and tradfri wireless dimmer
* Resolve unique id from device id
* Add Hue Tap and Tradfri on off switch
* More triggers for ikea on off switch and Aqara double wall switch
* Add support for Tradfri open close remote
* Fix changes after rebase
* Initial test
* Change id to event_id
* Fix translations and add subtypes
* Try if tests pass without the new tests
* Revert disabling tests
Add new exception InvalidDeviceAutomationConfig
* Ignore places calling remotes
* Enable all gateway tests
* Found the issue, now to identify which test creates it
* Remove block till done
* See if device automation test passes in azure
* Register event to device registry
* Enable test sensors
* Skip deconz event tests currently failing
* Added reason why skipping tests
2019-09-10 16:56:28 -07:00