Commit graph

15 commits

Author SHA1 Message Date
nordlead2005
65f22b09ae Dark sky precip accumulation ()
* Added DarkSky Precipitation Accumulation as an hourly forecast field

* fixed spacing
2018-02-02 10:23:27 +01:00
Ryan Bahm
f807a3a890 Darksky enhancements ()
* Correct capitalization inconsistency in DarkSky

All two-word sensors ("Precip Intensity," "Nearest Storm Bearing," etc) in Darksky uses title case for the friendly name of the sensor, with the exception of "Dew point."

* Implement UV Index in Darksky

* Fixed whitespace for Tox compliance

* Add unit for UV Index.

Per recommendation of reviewer, added 'UV Index' as a CONST in const.py, then used that const in both DarkSky and ISY994. It looks like BloomSky might also support UV Index and it should probably be standardized.
2017-10-14 14:45:32 -04:00
Paulus Schoutsen
46e030662d Fix pylint 1.7.2 no-else-return issues ()
* Fix pylint 1.7.2 no-else-return issues

* Update tomato.py
2017-07-05 23:30:01 -07:00
Fabian Affolter
a4f1f6e724 Update docstrings ()
* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstring

* Update docstrings

* Update docstrings

* Fix lint issues

* Update docstrings

* Revert changes in dict
2017-05-02 09:18:47 -07:00
John Mihalic
7eaad4fb3a Fix longitude () 2017-03-19 11:00:13 -07:00
RickyTaterSalad
7050236a61 add latitude and longitude configuration to darksky sensor ()
* Optional latitude and longitude to darksky sensor

allow configuration of latitude and longitude in the darksky sensor.
falls back to home assistant coordinates if latitude/longitude not
specified.

* lat/long as inclusive on schema. removed None check for lat/long in setup_platorm

altered schema to require latitude and longitude configured as a pair.
removed None check on latitude and longitude since values will fall back
to hass config if not present

* adhere to line limit of 79 characters

adhere to line limit of 79 characters
2017-03-16 23:04:01 -07:00
Lev Aronsky
c1be5ede1c Add 'entity_picture' to Darksky component () 2017-02-21 00:01:44 -08:00
Tom Dickman
71dc41655c Fix abreviation for miles in darksky sensor 2017-02-14 23:06:06 -06: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
Tom Dickman
59f74896a0 Updated abreviation for miles in darksky sensor () 2017-01-16 22:45:44 -08: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
Lewis Juggins
9561fed650 Fix Dark Sky async I/O () 2016-11-08 19:46:44 -08:00
Fabian Affolter
be272ac64a Disable too-many-* ()
* Disable too-many-* and too-few-public-methods

* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Fabian Affolter
8ded8f572a Add/adjust attribution of sensor platform ()
* Add/adjust attribution

* Fix typo
2016-10-11 00:28:19 -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 homeassistant/components/sensor/forecast.py (Browse further)