Paulus Schoutsen
6795db9bd6
Mobile app device tracker to restore state ( #24266 )
2019-06-03 10:30:56 +02:00
Paulus Schoutsen
6a693546a3
Add restore state to Geofency ( #24268 )
...
* Add restore state to Geofency
* Lint
2019-06-03 10:29:45 +02:00
Paulus Schoutsen
ca20b0cf17
Add restore state to OwnTracks device tracker ( #24256 )
...
* Add restore state to OwnTracks device tracker
* Lint
* Also store entity devices
* Update test_device_tracker.py
2019-06-02 13:57:21 -07:00
Robert Svensson
4d4fd19f87
Replace pyunifi with aiounifi in UniFi device tracker ( #24149 )
...
* Replace pyunifi with aiounifi
* Fix tests
* Add sslcontext
* Fix tests
* Fix import order
2019-06-02 18:24:13 +02:00
Franck Nijhof
9220270948
Adds AdGuard Home integration ( #24219 )
...
* Adds AdGuard Home integration
* 👕 Addresses linting warnings
* 🚑 Fixes typehint in async_setup_entry
* 👕 Take advantage of Python's coalescing operators
* 👕 Use adguard instance from outer scope directly in service calls
* 👕 Use more sensible scan_interval default for sensors
* 👕 Adds specific files to .coveragerc
* ☔ Added tests and small changes to improve coverage
* 🔨 Import adguardhome dependencies at the top
* 🚑 Converted service handlers to be async
* 🔥 Removed init step from config flow
2019-06-01 22:13:14 -07:00
Jef D
278b9d0f71
Round Awair sensor values ( #24093 )
...
* Round sensor values
* Add code owner
* Update code owners
* Fix tests
2019-06-01 17:03:41 +02:00
Paulus Schoutsen
276ab191b5
Do not use the cache dir for PIP installs ( #24233 )
2019-06-01 10:04:12 +02:00
Paulus Schoutsen
b90636f640
Update home zone when core config updated ( #24237 )
...
* Update home zone when core config updated
* Lint
2019-05-31 23:03:45 -07:00
Paulus Schoutsen
b4374c8c4c
Mobile app to use device tracker config entry ( #24238 )
...
* Mobile app to use device tracker config entry
* Lint
* Re-use device_info
* Lint
2019-05-31 23:01:45 -07:00
Paulus Schoutsen
e6a54013dc
GeoFency unique ID and device info ( #24232 )
2019-05-31 22:59:44 -07:00
Paulus Schoutsen
3edc58a04e
Add GPSLogger device_info and unique_id ( #24231 )
2019-05-31 22:59:35 -07:00
Paulus Schoutsen
3c1cdecb88
Add manifest support for homekit discovery ( #24225 )
...
* Add manifest support for homekit discovery
* Add a space after model check
* Update comment
2019-05-31 11:58:48 -07:00
Paulus Schoutsen
3a0616c680
Use resource for index routing. ( #24223 )
2019-05-31 11:27:05 -07:00
Robert Van Gorkom
bf91a8c1b3
Fixing tplink issues with offline devices during setup ( #23668 )
...
* Fixing tplink issues with offline devices during setup.
* Fixing circleci errors.
* Adding code to defer the creation of entities that are not online.
* Addressing code review changes and cleaning up a little.
* Fixing tests and static analysis.
* Adding test to satisfy coverage requirements.
* Resolving merge conflicts.
* Fixing issue where lights don't appear in the integration page.
* Using pyHS100 properties for most sysinfo.
Addressing some PR feedback.
* Addressing some PR feedback.
* Better testing async_add_entities_retry
Testing for static dimmers.
Making greater use of conf constants.
* Fixing all static analysis issues.
* Adding non-blocking call for getting discovering devices.
* Address PR feedback
2019-05-31 01:51:04 -04:00
Paulus Schoutsen
6f299e7245
Improve error handling ( #24204 )
2019-05-30 16:23:42 -07:00
Paulus Schoutsen
f32d1c0dea
Allow discovery flows to be discovered via zeroconf/ssdp ( #24199 )
2019-05-30 14:08:05 -07:00
Otto Winter
1ce2d97d3d
Fix ESPHome discovered when already exists ( #24187 )
...
* Fix ESPHome discovered when already exists
* Update .coveragerc
2019-05-30 09:48:58 -07:00
Paulus Schoutsen
1a3a38d370
Dynamic panels ( #24184 )
...
* Don't require all panel urls to be registered
* Allow removing panels, fire event when panels updated
2019-05-30 13:37:01 +02:00
Paulus Schoutsen
59ce31f44f
No longer allow invalid slugs or extra keys ( #24176 )
...
* No longer allow slugs
* Lint
* Remove HASchema
* Lint
* Fix tests
2019-05-30 13:33:26 +02:00
Jc2k
9303a56d8f
Fix duplicated discovered homekit devices ( #24178 )
2019-05-29 15:49:59 -07:00
Pascal Vizeli
d9852bc75d
Support Hass.io wheels / docker env ( #24175 )
...
* Support Hass.io wheels / docker env
* address comments
* fix lint
2019-05-29 15:30:09 -07:00
Robert Svensson
84baaa324c
Revert Zeroconf back to previously used library ( #24139 )
...
* Revert back to previously used library
* Fix test
* Remove unused import
* Fix import
* Update __init__.py
* Update __init__.py
* Fix test after rebase
2019-05-29 14:20:06 -07:00
Robert Svensson
42ee8eef50
Move Homekit controller component to user zeroconf discovery ( #24042 )
2019-05-29 11:20:04 -07:00
Robert Svensson
3fef9a93cf
Trådfri component to use new zeroconf discovery ( #24041 )
...
* Move tradfri component to use new zeroconf discovery
* Will this work?
* Remove prints
* Correct order in generated zeroconf
* Update test_init.py
* Update test_init.py
* Update test_init.py
* Update test_init.py
2019-05-29 11:19:50 -07:00
Paulus Schoutsen
6947f8cb2e
Cloud: Websocket API to manage Google assistant entity config ( #24153 )
...
* Extract exposed devices function
* Add might_2fa info to trait
* Do not filter with should_expose in Google helper func
* Cloud: allow setting if Google entity is exposed
* Allow disabling 2FA via config
* Cloud: allow disabling 2FA
* Lint
* More changes
* Fix typing
2019-05-29 08:39:12 -07:00
Robert Svensson
31b2f331db
Library refactorization of deCONZ ( #23725 )
...
* Improved sensors
* Lib update signalling
* Replace reason with changed
* Move imports to top of file
* Add support for secondary temperature reported by some Xiaomi devices
* Bump dependency to v59
2019-05-27 06:56:00 +02:00
Paulus Schoutsen
9debbfb1a8
Add SSDP integration ( #24090 )
...
* Add SSDP integration
* Fix tests
* Sort all the things
* Add netdisco to test requirements
2019-05-26 19:48:27 -07:00
Paulus Schoutsen
179fb0f3b5
Use importlib metadata to check installed packages ( #24114 )
...
* Use importlib metadata
* Fix script
* Remove unused import
* Update requirements"
2019-05-26 11:58:42 -07:00
Otto Winter
9438dd1cbd
Use name in ESPHome discovery title ( #24100 )
...
* Use name in ESPHome discovery title
* Add test
* Lint
2019-05-26 13:48:05 +02:00
Andrew Sayre
0194905e97
Move imports to top ( #24108 )
2019-05-26 13:47:11 +02:00
Paulus Schoutsen
e6d7f6ed71
Config entry device tracker ( #24040 )
...
* Move zone helpers to zone root
* Add config entry support to device tracker
* Convert Geofency
* Convert GPSLogger
* Track unsub per entry
* Convert locative
* Migrate OwnTracks
* Lint
* location -> latitude, longitude props
* Lint
* lint
* Fix test
2019-05-25 13:34:53 -07:00
Paulus Schoutsen
1de0a0bbb9
Convert stream source to method ( #23905 )
...
* Convert stream source to method
* Use async with
2019-05-23 09:45:30 -07:00
Robert Svensson
085303c349
ESPHome component to use zeroconf discovery ( #24043 )
...
* Move ESPHome component to use zeroconf discovery
* Remove esphome from discovery component
2019-05-23 08:55:08 +02:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* Don't pass in loop
* Revert some changes
* Lint + Axis revert
* reinstate loop
* Fix a test
* Set loop
* Update camera.py
* Lint
2019-05-22 21:09:59 -07:00
Paulus Schoutsen
9e96397e6a
Require core config detection to be triggerd manually ( #24019 )
...
* Detect core config
* Remove elevation
* Lint
* Lint
* Fix type
2019-05-22 17:24:46 -07:00
Daniel Høyer Iversen
6b3bb3347b
Ambiclimate test, mock ( #24034 )
2019-05-22 15:00:05 +02: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
Erik Montnemery
fc58746bc3
Add websocket API for updating core config ( #24009 )
...
* Add websocket API for updating core config
2019-05-21 07:21:31 +02:00
Erik Montnemery
afe9fc221e
Fire event when core config is updated ( #23922 )
...
* Fire event when core config is updated
2019-05-20 20:02:36 +02: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
Penny Wood
f991ec15f2
Delete devices / entities when we remove a config entry. ( #23983 )
...
* Remove device when last config entry removed
* Remove entities when config entry removed
* Update tests to use new behaviour
2019-05-19 11:41:39 +02:00
Tomer Figenblat
d7d83c683d
Updated non-blocking timout to 10 seconds for fixing timeout issues. ( #23930 )
...
* Updated non-blocking timout to 10 seconds for fixing timeout issues.
* Added failed bridge fixture for faster unit tests.
2019-05-19 11:24:59 +02:00
Charles Garwood
1282370ccb
Entity Cleanup on Z-Wave node removal ( #23633 )
...
* Initial groundwork for entity cleanup on node removal
* Connect node_removed to dispatcher
* update docstring
* Add node_removal test
* Address review comments
* Use hass.add_job instead of run_coroutine_threadsafe
2019-05-19 11:14:11 +02:00
Jc2k
5b0d1415ad
Have homekit_controller use device registry ( #23874 )
...
* Add device registry support
* HK doesn't use mac as a connection id
2019-05-17 08:41:20 +02:00
Aaron Bach
297d24c5b0
Fix bug when IQVIA API fails to return data ( #23916 )
...
* Fix bug when IQVIA API fails to return data
* Updated requirements
* Fixed tests
* Linting
* Removed impossible case
* Removed extraneous comment
2019-05-16 15:19:53 -06:00
Joakim Plate
c8cf06b8b7
Switch media player to SWITCH type ( #23914 )
...
MEDIA device type is being rejected by google now.
2019-05-16 22:34:40 +02:00
Erik Montnemery
c2fc8a0d61
Load HA core config from storage ( #23872 )
...
* Load HA core config from storage
* Tweak
* Lint, review comments
* Fix test
* Add tests
* Lint
* Address comments
2019-05-16 16:27:53 +02:00
Jc2k
692eeb3687
Fix ecobee 3 homekit pairing ( #23882 )
2019-05-16 14:32:13 +02:00
Paulus Schoutsen
70ed58a78d
Restructure device tracker ( #23862 )
...
* Restructure device tracker
* Docstyle
* Fix typing
* Lint
* Lint
* Fix tests
2019-05-15 23:43:45 +02:00
Ville Skyttä
cf89f45697
Fix homekit test assert no messages ( #23856 )
2019-05-15 13:13:56 +02:00