Phil Elson and Paulus Schoutsen
40af9f2676
Correct use of middleware async handling. ( #12078 )
2018-01-31 09:04:32 -08:00
Fabian Affolter and Paulus Schoutsen
424fe95ce4
Upgrade keyring to 11.0.0 ( #12082 )
...
* Upgrade keyring to 11.0.0
* Address the removal of 'keyring.__version__'
2018-01-31 09:03:20 -08:00
John Mihalic and Pascal Vizeli
81a6178931
Squeezebox Fix duplicate server from discovery ( #12063 )
...
* Fix duplicate server from discovery
* Use hass.data instead of global
* Simplify
2018-01-31 15:32:08 +01:00
escoand and Fabian Affolter
e9508405bc
Add conditions to forecast ( #12074 )
...
* add conditions to forecast chart
* Fix pylint issues
2018-01-31 13:05:15 +01:00
Gerben Meijer and Fabian Affolter
6ae3fa40cf
Set flux default stop time to dusk ( #12062 )
...
This is more in line with how one would expect light temperature
transitions to take place, but still allows for a user defined
stop_time.
2018-01-31 12:00:47 +01:00
Taylor Peet and Fabian Affolter
434d2afbfc
Influx import improvements ( #11988 )
...
* Influx import improvements
* fix line length issues
* fixing pylint spaces
* Added refined except clause
* Fix progress bar and exclude issues
* fix travis lint too many blank lines
* Minor changes
2018-01-31 11:39:15 +01:00
Ville Skyttä and Pascal Vizeli
0376cc0917
Handle more file closing using context manager ( #11942 )
2018-01-31 11:30:48 +01:00
escoand and Fabian Affolter
4cb1f93019
fixed timestamp problem in firefox ( #12073 )
2018-01-31 11:26:35 +01:00
Craig J. Ward and tschmidty69
ebfb380449
fix event channel name ( #12077 )
2018-01-30 21:46:47 -05:00
Marius and Paulus Schoutsen
3e41422caa
Fix demo platform support ( #12070 )
...
* Fixing demo platform to use support_flags
* Fixed tests as well
* Moved humidity low / high as always available based on defaults
* Updated demo platform to show more combinations
2018-01-30 14:59:43 -08:00
Ville Skyttä and Paulus Schoutsen
cab6c694c5
Flake8 bugbear fixes ( #12072 )
...
* Don't use mutable argument defaults (bugbear B006)
* Use callable(x) instead of hasattr(x, '__call__') (bugbear B004)
* Remove/mark unused loop control variables (bugbear B007)
* Fix stripping protocol from kodi host name (bugbear B005)
* Fix plant daily history add default date (bugbear B008)
2018-01-30 14:44:05 -08:00
Kane610 and Paulus Schoutsen
37034a7450
Deconz use entity registry ( #12067 )
...
* Support for entity registry
* Not everything is a sensor...
2018-01-30 14:42:24 -08:00
Anders Melchiorsen and Paulus Schoutsen
990fbdf3ca
Unique ID for LIFX lights ( #12064 )
2018-01-30 14:40:44 -08:00
Pierre Ståhl and tschmidty69
dfd2d631ae
Publish errors on the event bus ( #11964 )
...
* Publish errors on the event bus
* Add block till done to test.
* Update test_system_log.py
* Remove old logger handlers
2018-01-30 11:25:58 -05:00
Alex Osadchyy and Martin Hjelmare
12182d6e49
Bumped up pymochad requirement to 0.2.0 as a fix for #11928 ( #12014 )
...
* Bumped up pymochad requirement to 0.2.0 as a fix for #11928
* requirements_all.txt updated to match pymochad requirements
2018-01-30 05:13:30 -08:00
Anders Melchiorsen and Pascal Vizeli
d7017f2138
Prepare for recorder purge to be active by default ( #11976 )
2018-01-30 12:41:33 +01:00
Paulus Schoutsen and Pascal Vizeli
ec1c395f09
Extract requirements ( #12051 )
2018-01-30 12:30:47 +01:00
Joe Lu and Pascal Vizeli
71cb4df817
Return all attributes that are not None in base lock entity class ( #12049 )
...
* Return all attributes that are not None in base lock entity class
* Update __init__.py
2018-01-30 12:20:20 +01:00
Paulus Schoutsen and Pascal Vizeli
e51427b284
Entity registry ( #11979 )
...
* Entity#unique_id defaults to None
* Initial commit entity registry
* Clean up unique_id property
* Lint
* Add tests to entity component
* Lint
* Restore some unique ids
* Spelling
* Remove use of IP address for unique ID
* Add tests
* Add tests
* Fix tests
* Add some docs
* Add one more test
* Fix new test…
2018-01-30 10:39:39 +01:00
Phil Kates and Paulus Schoutsen
8e441ba03b
Refactor Google Assistant query_device ( #12022 )
...
* google_assistant: Refactor query_device
The previous code had issues where domains could break out and end up
with weird brightness values and we weren't enforcing the `on` and
`oneline` keys in the response.
* google_assistant: Add media_player to query test
2018-01-30 01:19:24 -08:00
freol35241 and Pascal Vizeli
5b1c51bdf6
Handling of payload not for this entity. ( #11836 )
...
* Handling of payload not for this entity.
The update state-method should not be called if the payload is not intended for this entity.
* Fixing linter errors
* Adding warning for case when no matching payload is found
2018-01-30 10:18:45 +01:00
Phil Frost and Paulus Schoutsen
8624799c45
Refactor alexa smart_home tests ( #12044 )
...
* Refactor alexa smart_home tests
The previous tests had a lot of copy pasta due to a lack of expressions
for higher-level assertions. I'm hoping this makes it more reasonable to
extend all interfaces to support properties.
* Lint
2018-01-29 20:33:39 -08:00
Paulus Schoutsen and GitHub
1aaf49d0c1
Merge pull request #12047 from home-assistant/release-0-62-1
...
0.62.1
0.62.1
2018-01-29 16:35:59 -08:00
Fabian Affolter and Paulus Schoutsen
10263230f7
Upgrade astral to 1.5 ( #12042 )
2018-01-29 16:08:01 -08:00
Paulus Schoutsen
6f84fa4ce5
Bump frontend to 20180130.0
2018-01-29 16:06:00 -08:00
Anders Melchiorsen and Paulus Schoutsen
a1c0544e35
Upgrade pyharmony to 1.0.20 ( #12043 )
2018-01-29 16:04:04 -08:00
c727 and Paulus Schoutsen
a59d26b1fa
Fix 404 for Hass.io panel using frontend dev ( #12039 )
...
* Fix 404 for Hass.io panel using frontend dev
* Hound
2018-01-29 16:04:03 -08:00
Rene Nulsch and Paulus Schoutsen
170a0c9888
Error handling, in case no connections are available ( #12010 )
...
* Error handling, in case no connections are available
* Fix elif to if
2018-01-29 16:04:03 -08:00
smoldaner and Paulus Schoutsen
e084a260c6
Fix parameter escaping ( #12008 )
...
From rfc3986: The characters slash ("/") and question mark ("?") may represent data within the query component
See https://tools.ietf.org/html/rfc3986#section-3.4
2018-01-29 16:04:03 -08:00
Frantz and Paulus Schoutsen
8709a397f6
Set default values for Daikin devices that don't support fan direction and fan speed features ( #12000 )
2018-01-29 16:04:02 -08:00
Ville Skyttä and Paulus Schoutsen
9fed3acc90
Fix asuswrt AttributeError on neigh for unknown device ( #11960 )
2018-01-29 16:04:02 -08:00
tschmidty69 and Paulus Schoutsen
0713dbc7a3
Snips - (fix/change) remove response when intent not handled ( #11929 )
...
* Remove snips endSession response on unknownIntent
* Removed snips_response for unknown and error.
2018-01-29 16:04:01 -08:00
Anders Melchiorsen and Paulus Schoutsen
5609b42863
Upgrade pyharmony to 1.0.20 ( #12043 )
2018-01-29 15:54:49 -08:00
Paulus Schoutsen
24c6285567
Bump frontend to 20180130.0
2018-01-29 15:51:43 -08:00
Paulus Schoutsen
5bdbf3dfc0
Version bump to 0.62.1
2018-01-29 15:40:08 -08:00
smoldaner and Paulus Schoutsen
6d59dad1ce
Fix parameter escaping ( #12008 )
...
From rfc3986: The characters slash ("/") and question mark ("?") may represent data within the query component
See https://tools.ietf.org/html/rfc3986#section-3.4
2018-01-29 15:02:26 -08:00
Frantz and Paulus Schoutsen
99c6a10b99
Set default values for Daikin devices that don't support fan direction and fan speed features ( #12000 )
2018-01-29 14:56:55 -08:00
kennedyshead and Paulus Schoutsen
7ad870c4ff
Online state for samsungtv is jumping when TV is idle ( #11998 )
...
* Set timeout to offline
* Have to rewrite to use ping instead.
2018-01-29 14:55:39 -08:00
Rene Nulsch and Paulus Schoutsen
89e0b26b73
Error handling, in case no connections are available ( #12010 )
...
* Error handling, in case no connections are available
* Fix elif to if
2018-01-29 14:49:38 -08:00
Otto Winter and Fabian Affolter
8dcfd35b8b
Spelling fixes ( #12041 )
...
* Spelling fixes
*Lots* of them.
* Spelling breaking changes
* Fix lint errors
2018-01-29 23:37:19 +01:00
Otto Winter and Fabian Affolter
38fd9b65bf
Fix MQTT cover availability subscription ( #12036 )
2018-01-29 23:19:08 +01:00
c727 and Fabian Affolter
105522f03f
Fix 404 for Hass.io panel using frontend dev ( #12039 )
...
* Fix 404 for Hass.io panel using frontend dev
* Hound
2018-01-29 23:18:33 +01:00
akloeckner and Fabian Affolter
8b9dc71cde
sensor.deutsche_bahn: add only_direct option ( #11999 )
...
* sensor.deutsche_bahn: add only_direct option
This adds the `only_direct` option to the HA interface as provided by the schiene class.
* fix line length
as requested by @houndci-bot and @fabaff
* No line breaks needed
2018-01-29 23:17:58 +01:00
Dan Cinnamon and Fabian Affolter
ff0fd71608
Bump upstream lib version. ( #12021 )
2018-01-29 12:35:13 +01:00
Andy Castille and Pascal Vizeli
12a53e2747
Fix DoorBird push notifications for installations with an API password ( #12020 )
2018-01-29 12:15:53 +01:00
Ville Skyttä and Paulus Schoutsen
384f63dd1d
Typing fixes ( #12015 )
...
* .gitignore: Add .mypy_cache
* Typing fixes
2018-01-29 00:24:08 -08:00
Ville Skyttä and Paulus Schoutsen
78a3c01f27
Flake8 35 ( #11972 )
...
* Upgrade flake8 to 3.5
* Fix flake8 bare except errors
* Make flake8 and pylint cooperate
2018-01-29 00:23:53 -08:00
Jack Wilsdon and Paulus Schoutsen
5426e5c875
emulated_hue: allow customization within emulated_hue configuration ( #11981 )
...
* emulated_hue: add entities configuration
* emulated_hue: update tests to include new entities attribute
2018-01-28 23:40:00 -08:00
Phil Kates and Paulus Schoutsen
766875f702
alexa: Add media_player InputController support ( #11946 )
...
`media_player`s can support select_source so map that to an
InputController.
[1]: https://developer.amazon.com/docs/device-apis/alexa-inputcontroller.html
2018-01-28 22:22:04 -08:00
Phil Frost and Paulus Schoutsen
7d6ef4445e
Report states ( #11973 )
...
* Refactor Alexa Smart Home API
Having an object per interface will make it easier to support
properties.
Ideally, properties are reported in context in all responses. However
current implementation reports them only in response to a ReportState
request. This seems to work sufficiently. As long as the device is
opened in the Alexa app, Amazon will poll the device state every few
seconds with a ReportState request.
* Report properties for some Alexa interfaces
Fixes (mostly) #11874 .
Other interfaces will need properties implemented as well.
Implementing properties for just PowerController seems sufficient to
eliminate the "There was a problem." error for any device that supports
it, even if other interfaces are supported. Of course the additional
properties will be reported incorrectly in the Alexa app.
Includes a minor bugfix: `reportable` was previously placed incorrectly
in the responses, so Amazon was ignoring it.
2018-01-28 17:00:34 -08:00