Commit graph

7 commits

Author SHA1 Message Date
Paulus Schoutsen
714b516176 aiohttp 2 ()
* Upgrade aiohttp2

* Fix resource caching

* Fix helpers.aiohttp_client

* Lint

* Use static path for api error_log

* Fix ClientErrors import

* Remove not needed DisconnectError

* Remove releasing responses code

* Add timeout if stream starts non responding

* More async_aiohttp_proxy_stream cleanup

* Fix references to ClientError

* Fix fingerprinting

* Fix aiohttp stream tests

* Rename aiohttp_proxy_stream

* Remove impossible darksky test

* Fix sleepiq requests escaping mocker

* Lint

* Remove deprecated parameter

* Break up aiohttp_proxy_stream in 2 methods

* Lint

* Upgrade to aiohttp 2.0.4

* Convert connector close to a callback

* Fix static fingerprinted links
2017-03-30 00:50:53 -07:00
Paulus Schoutsen
2650c73a89 Split bootstrap into bs + setup ()
* Split bootstrap into bs + setup

* Lint
2017-03-05 10:41:54 +01:00
nordlead2005
837994196e Added forecast support to DarkSky ()
* Added forecast support to DarkSky

	modified:   homeassistant/components/sensor/darksky.py
	modified:   tests/components/sensor/test_darksky.py

* Fix async_volume_up / async_volume_down ()

async_volume_up / async_volume_down should be async versions of
volume_up / volume_down, not a async version of the default variants of
volume_up / volume_down.

The previous code always called into the mediaplayers set_volume_level,
and never into volume_up / volume_down.

Signed-off-by: Anton Lundin <glance@acc.umu.se>

* adding a default icon "blind" to a PowerView blinds scene. ()

* adding a default icon "blind" to a PowerView blinds scene.

* Adding icon property to define blind icon. Removed it from the state attributes dict.

* fixing lint error

* Added forecast support to DarkSky

	modified:   homeassistant/components/sensor/darksky.py
	modified:   tests/components/sensor/test_darksky.py

* Use SHA hash to make token harder to guess ()

* Use SHA hash to make token harder to guess

Use hashlib SHA256 to encode object id instead of using it directly.

* Cache access token

Instead of generating a token on the fly cache it in the constructor.

* Fix lint

* Bugfix async device_tracker see callback ()

* Add support for NAD receivers ()

* Add support for NAD receivers

* remove self.update() in various methods

* remove setting attributes in various methods

* Change import to hass style

* Updated Config Validation, extended daily forecast to all supported types

* Fix style errors from previous commit, fix test since adding daily for all supported types

* Removed temperature from daily as it isn't supported

* Added forecast support to DarkSky

	modified:   homeassistant/components/sensor/darksky.py
	modified:   tests/components/sensor/test_darksky.py

* Updated Config Validation, extended daily forecast to all supported types

* Fix style errors from previous commit, fix test since adding daily for all supported types

* Removed temperature from daily as it isn't supported

* Revert "Bugfix camera streams ()"

This reverts commit 4b43537801.

Revert "Version bump for kodi dependency ()"

This reverts commit 6abad6b76e.

Revert "Add HMWIOSwitch to sensor, binary ()"

This reverts commit 2c3f55acc4.

Revert "Remove GTFS default name & string change"

This reverts commit 6000c59bb5.

Revert "Update pyhomematic 1.19 & small cleanups ()"

This reverts commit a30711f1a0.

Revert "[sensor] Add Dublin bus RTPI sensor ()"

This reverts commit 1219ca3c3b.

Revert "Bugfix group reload ()"

This reverts commit baa8e53e66.

Revert "Support for TrackR device trackers ()"

This reverts commit f7a1d63d52.

Revert "Bump pywemo version."

This reverts commit dc937cc8cf.

Revert "Upgrade to voluptuous to 0.9.3 ()"

This reverts commit d12decc471.

Revert "Upgrade distro to 1.0.2 ()"

This reverts commit 64800fd48c.

Revert "Don't build Adafruit_BBIO - doesn't work on all platforms. ()"

This reverts commit 9a3c0c8cd3.

Revert "Convert flic to synchronous platform. ()"

This reverts commit eb9b95c292.

Revert "Upgrade to aiohttp 1.2 ()"

This reverts commit e68e29e03e.

Revert "Fix TCP sensor to correctly use value_template ()"

This reverts commit 1cf9ae5a01.

Revert "Cleanup language support on TTS ()"

This reverts commit 3f3a3bcc8a.

Revert "Add last triggered to script ()"

This reverts commit 467cb18625.

Revert "Bump flux_led version and make use of PyPi package ()"

This reverts commit 34a9fb01ac.

Revert "Add support for NAD receivers ()"

This reverts commit 3b59e169f1.

Revert "Bugfix async device_tracker see callback ()"

This reverts commit 71fddd26eb.

Revert "Use SHA hash to make token harder to guess ()"

This reverts commit 922308bc1f.

* Revert "Revert "Bugfix camera streams ()""

This reverts commit 2ee8c44021.

* Update darksky.py
2017-01-26 22:32:45 -08:00
Paulus Schoutsen
aa1e4c564c Fix tests closing properly () 2017-01-07 01:47:25 +01:00
Adam Mills
b9dcc2777b Setup DarkSky platform when offline during init ()
* Setup DarkSky platform when offline during init

* Fail setup_platform if fetch was unsuccessful
2016-12-15 22:27:37 -08:00
Johann Kellerman
7b40a641ec Continue on invalid platforms and new setup_component unit tests () 2016-10-08 11:27:35 -07:00
Fabian Affolter
a94571fd10 Change name of Forecast.io platform to Dark Sky ()
* Rename Forecast.io platform to Dark Sky

* Upgrade to python-forecastio to 1.3.5

* Update to reflect name change (Forecast.io -> Dark Sky)

* Rename forecast to darksky
2016-10-05 21:42:58 +02:00
Renamed from tests/components/sensor/test_forecast.py (Browse further)