Commit Graph
12405 Commits
Author SHA1 Message Date
Lewis JugginsandGitHub e8173fbc16 Enable pytradfri during build, and include in Docker (#12662) 2018-02-25 18:20:43 +00:00
Mike MegallyandFabian Affolter 63552abce5 Synology Chat as a notification platform (#12596)
* first attempt at synology chat as a notification platform

* quick fix

* houndci and coverage

* Cleanup

Some cleanup of the file

* Ugh underscore

* Use string formatting

* Remove `CONF_NAME`
2018-02-25 14:47:46 +01:00
Julius MittenzweiandPaulus Schoutsen 16cb7388ee Removing asyncio.coroutine syntax from HASS core (#12509)
* changed asyncio.coroutine syntax to new async def/await

* removed py34 from tox environment

* reverted some changes within entity.py

* -

* reverted changes within bootstrap.py

* reverted changes within discovery.py

* switched decorators

* Reverted change within aiohttp_client.py

* reverted change within logging.py

* switched decorators

* Await lock properly

* removed asyncio.coroutine from test
2018-02-25 03:38:46 -08:00
cdce8pandGitHub eacfbc048a Improved Homekit tests (#12647)
* Spelling and typos
* Updated 'test_homekit_pyhap_interaction'
* Patch ip_address
2018-02-25 10:58:13 +01:00
cdce8pandPascal Vizeli da832dbda2 Removed py34 (#12648) 2018-02-25 08:05:20 +01:00
Adam MillsandGitHub f51a3738aa Check if $files is empty, don't try to execute it (#12651) 2018-02-24 22:11:49 -05:00
Paulus SchoutsenandGitHub 6d431c3fc3 Allow renaming entities in entity registry (#12636)
* Allow renaming entities in entity registry

* Lint
2018-02-24 10:53:59 -08:00
Otto WinterandPaulus Schoutsen 2821820281 Cast automatically drop connection (#12635) 2018-02-24 10:27:44 -08:00
Julius MittenzweiandPaulus Schoutsen 3713dfe139 Removing asyncio.coroutine syntax from some components (#12507)
* Removing asyncio.coroutine syntax (first steps)

* merge conflict

* fixed small bug

* pylint
2018-02-24 10:24:33 -08:00
Otto WinterandPaulus Schoutsen c076b805e7 Fix cast doing I/O in event loop (#12632) 2018-02-23 15:13:48 -08:00
kennedysheadandMartin Hjelmare 7a44eee093 Fix mclimate accounts with not only melissa components (#12427)
* Fixes for mclimate accounts with not only melissa components

* Fixes melissa sensor to only use HVAC

* Bumping version to 1.0.3 and remove OP_MODE that is not supported

* Removes STATE_AUTO from translation and tests
2018-02-23 23:33:12 +01:00
Sebastian MuszynskiandTeemu R 485979cd86 Xiaomi Aqara Gateway: Service descriptions added (#12631)
* Service descriptions of the Xiaomi Aqara Gateway added.

* Descriptions added.
2018-02-23 22:33:51 +01:00
Pascal VizeliandPaulus Schoutsen 5a80d4e5ea Hassio update timeout filter list (#12617)
* Update timeout filter list

* Update http.py
2018-02-23 10:13:04 -08:00
Sebastian MuszynskiandPaulus Schoutsen c3d322f26c The name of the enum must be used here because of the speed_list. (#12625)
The fan.set_speed example value is lower-case and led to confusion. Both spellings are possible now: Idle & idle
2018-02-23 10:11:54 -08:00
Otto WinterandPaulus Schoutsen 230b73d14a Cast unique_id and async discovery (#12474)
* Cast unique_id and async discovery

* Lazily load chromecasts

* Lint

* Fixes & Improvements

* Fixes

* Improve disconnects

cast.disconnect with blocking=False does **not** do I/O; it simply sets an event for the socket client looper

* Add tests

* Remove unnecessary calls

* Lint

* Fix use of hass object
2018-02-23 09:31:22 -08:00
Otto WinterandDaniel Høyer Iversen 042f292e4f Fix CODEOWNERS permissions (#12621) 2018-02-23 14:57:49 +01:00
Thijs de JongandPascal Vizeli daa00bc65a Add Tahoma scenes (#12498)
* add scenes to platform

* add scene.tahoma

* requires tahoma-api 0.0.12

* update requirements_all.txt

* hound

* fix pylint error
2018-02-23 13:03:00 +01:00
Anders MelchiorsenandPascal Vizeli 1b22f2d8b8 Move recorder query out of event loop (#12615) 2018-02-23 10:12:40 +01:00
Paulus SchoutsenandGitHub 1e672b93e7 Fix voluptuous breaking change things (#12611)
* Fix voluptuous breaking change things

* Change xiaomi aqara back
2018-02-22 23:29:42 -08:00
Paulus SchoutsenandGitHub 6ee3c1b3e5 Hello Python 3.5 (#12610)
* Hello Python 3.5

* Fix test

* Fix tests

* Fix never awaited block till done warnings
2018-02-22 23:22:27 -08:00
Scott BradshawandPaulus Schoutsen 156206dfee OpenGarage - correctly handle offline status (#12612) (#12613) 2018-02-22 21:53:08 -08:00
Anders MelchiorsenandPaulus Schoutsen 7dcb2ae24c Optimize logbook SQL query (#12608) 2018-02-22 15:40:58 -08:00
Paulus Schoutsen 6b03cb913c Version bump to 0.65.0.dev0 2018-02-22 15:35:24 -08:00
Paulus Schoutsen 079724be05 Merge remote-tracking branch 'origin/master' into dev 2018-02-22 15:32:07 -08:00
Jeremy KleinandPaulus Schoutsen f899ce8fbf Adding RoomHinting to GoogleAssistant to allow for room annotations. (#12598) 2018-02-22 15:24:41 -08:00
cdce8pandPaulus Schoutsen ffd3889271 Updated script/lint (#12600)
* Compare to common ancestor
* Check if no file was changed
2018-02-22 15:22:59 -08:00
Sebastian MuszynskiandPaulus Schoutsen 87c69452f9 Set speed service fixed. (#12602) 2018-02-22 15:21:36 -08:00
GerardandLewis Juggins 1af65f8f23 Component for Sony Bravia TV with Pre-Shared Key (#12464) 2018-02-22 21:09:52 +00:00
Mike MegallyandLukas Barth f0a1beac5d Allow ignoring call service events in mqtt_eventstream (#12519)
* [WIP] Allow ignoring call service events

This allows a setting a configuration value (False by default to continue the current behavior) which will ignore call service events.

* extra spaces

removed them

* updates from PR review

* removed print

* update spacing

* updated allowed events to allow for custom events, and included some tests

* hound fixes

* Remove unused constant

* Lint
2018-02-22 11:19:18 +01:00
JC ConnellandPaulus Schoutsen 4fdbbc497d Python spotcrime (#12460)
* Added python-spotcrime sensor

* Added python-spotcrime sensor

* Remove accidental included file

* Update indentation to match PEP8

* Remove days from const.py

* Changed default days to 1

* Incorporate changes requested by MartinHjelmare

* Remove unnecessary import and fix lint error
2018-02-21 23:47:15 -08:00
Paulus SchoutsenandGitHub de72eb8fe9 Make groups entities again (#12574) 2018-02-21 23:42:23 -08:00
Lukas BarthandPaulus Schoutsen 2a4971dec7 Add unique_id to Xiaomi Aqara (#12372)
* Add unique_id to Xiaomi Aqara

* Slugify the unique ID

* Use the domain instead of a separate string

* Add underscore

* Remove unique ID from attributes

* Re-add removed attributes

* Remove domain from the unique ID

* Use type or data key

* Also make sure that the data key is not None

* Yes, it does have that member, if that check passes. Thanks pylint.
2018-02-21 23:36:39 -08:00
RobinandPaulus Schoutsen 4d7fb2c7de Adds folder sensor (#12208)
* Adds folder sensor

The state of the sensor is the time that the most recently modified
file in a folder was modified.

* Address lint errors

* Edit docstrings

Makes the recommended edits to docstrings

* Update .coveragerc

Add sensor/folder.py

* Update folder.py

* Address requests

Address requests changes

* Adds folder

* Adds test, tidy up

* Tidy

* Update test_folder.py

* Update folder.py

* Fix setup

Fix setup with else statement

* Update folder.py

* Update folder.py

* Remove list of files from attributes

* Update test_folder.py

* Update folder.py

* Update test_folder.py

* Update folder.py

* Update folder.py
2018-02-21 23:21:07 -08:00
Greg LaabsandPaulus Schoutsen 184a54cc58 Fix fix isy994 fan detection (#12595)
* Fixed 3 small issues in isy994 component

1. FanLincs have two nodes: one light and one fan motor. In order for each node to get detected as different Hass entity types, I removed the device-type check for FanLinc. The logic will now fall back on the uom checks which should work just fine. (An alternative approach here would be to special case FanLincs and handle them directly - but seeing as the newer 5.x ISY firmware already handles this much better using NodeDefs, I think this quick and dirty approach is fine for the older firmware.) Fixes #12030
2. Some non-dimming switches were appearing as `light`s in Hass due to an duplicate NodeDef being in the light domain filter. Removed! Fixes #12340
3. The `unqiue_id` property was throwing an error for certain entity types that don't have an `_id` property from the ISY. This issue has always been present, but was exposed by the entity registry which seems to be the first thing to actually try reading the `unique_id` property from the isy994 component.

* Fix ISY994 fan detection

ISY reports "med" in the uom, not "medium"

* Add special-case for FanLincs so the light node is detected properly

* Re-add insteon-type filter for fans, which dropped in a merge error
2018-02-21 22:20:40 -08:00
matthewcky2kandAdam Mills c6480e46c4 Add Bluetooth and NFC card/tag Alarm types (#12151)
* Add Bluetooth and NFC card/tag Alarm types

* removed white space
2018-02-21 17:03:10 -05:00
Pascal VizeliandGitHub b228695907 Hassio cleanup part2 (#12588)
* Update handler.py

* Update handler.py

* Update __init__.py

* Update handler.py

* Update handler.py

* Update __init__.py

* Update tests
2018-02-21 22:42:55 +01:00
Paulus SchoutsenandGitHub 51c06e35cf Cloud reconnect tweaks (#12586) 2018-02-21 12:55:33 -08:00
Kane610andPaulus Schoutsen b8df2d4042 Deconz support water sensor (#12581)
* Add support for smoke detector in deconz

* Support for water sensors in deconz
2018-02-21 12:52:05 -08:00
Anders MelchiorsenandPaulus Schoutsen 2d36d4d9f3 Set event_id foreign key in recorded states (#12580) 2018-02-21 12:51:20 -08:00
Paulus SchoutsenandGitHub 03d6071a45 Update pychromecast to 2.0.0 (#12587) 2018-02-21 12:49:56 -08:00
Paulus Schoutsen 6ce9be6b3a Update frontend to 20180221.1 2018-02-21 12:45:10 -08:00
Anders MelchiorsenandGitHub ed1a883b52 Fix sonos default errorcodes (#12582) 2018-02-21 21:11:14 +01:00
Anders MelchiorsenandPaulus Schoutsen f9ee29a5cd Logbook speedup (#12566)
* Optimize logbook filtering

* Avoid State construction during Events filtering

* Move tuple creation out of loop

* Add benchmark
2018-02-21 10:35:55 -08:00
Paulus SchoutsenandPascal Vizeli 8d0b7adf24 Fix config 404 (#12571) 2018-02-21 13:16:08 +01:00
OliverandPaulus Schoutsen 28fec209e0 Basic support of post 2016 AVR-X receivers (#12569) 2018-02-20 23:09:14 -08:00
Anders MelchiorsenandPaulus Schoutsen 5ad0baf128 Add limitlessled night effect (#12567) 2018-02-20 23:08:45 -08:00
Paulus Schoutsen 49d410546a Frontend version bump to 20180221.0 2018-02-20 17:55:15 -08:00
bottomquarkandPaulus Schoutsen 722926b315 Fix caldav component handling missing dtend (#12562) 2018-02-20 15:37:34 -08:00
Kane610andPaulus Schoutsen c898fb1f16 Add support for smoke detector in deconz (#12561) 2018-02-20 15:28:06 -08:00
Pascal VizeliandPaulus Schoutsen 4f96eeb06e Cleanup hass.io component (#12556)
* Cleanup hass.io component

* fix lint

* Fix all tests

* Fix lint

* fix lint

* fix doc lint
2018-02-20 15:24:31 -08:00