core/homeassistant/components/sensor
nordlead2005 837994196e Added forecast support to DarkSky (#5264)
* 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 (#5249)

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. (#5210)

* 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 (#5258)

* 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 (#5259)

* Add support for NAD receivers (#5191)

* 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 (#5306)"

This reverts commit 4b43537801.

Revert "Version bump for kodi dependency (#5307)"

This reverts commit 6abad6b76e.

Revert "Add HMWIOSwitch to sensor, binary (#5304)"

This reverts commit 2c3f55acc4.

Revert "Remove GTFS default name & string change"

This reverts commit 6000c59bb5.

Revert "Update pyhomematic 1.19 & small cleanups (#5299)"

This reverts commit a30711f1a0.

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

This reverts commit 1219ca3c3b.

Revert "Bugfix group reload (#5292)"

This reverts commit baa8e53e66.

Revert "Support for TrackR device trackers (#5010)"

This reverts commit f7a1d63d52.

Revert "Bump pywemo version."

This reverts commit dc937cc8cf.

Revert "Upgrade to voluptuous to 0.9.3 (#5288)"

This reverts commit d12decc471.

Revert "Upgrade distro to 1.0.2 (#5291)"

This reverts commit 64800fd48c.

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

This reverts commit 9a3c0c8cd3.

Revert "Convert flic to synchronous platform. (#5276)"

This reverts commit eb9b95c292.

Revert "Upgrade to aiohttp 1.2 (#4964)"

This reverts commit e68e29e03e.

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

This reverts commit 1cf9ae5a01.

Revert "Cleanup language support on TTS (#5255)"

This reverts commit 3f3a3bcc8a.

Revert "Add last triggered to script (#5261)"

This reverts commit 467cb18625.

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

This reverts commit 34a9fb01ac.

Revert "Add support for NAD receivers (#5191)"

This reverts commit 3b59e169f1.

Revert "Bugfix async device_tracker see callback (#5259)"

This reverts commit 71fddd26eb.

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

This reverts commit 922308bc1f.

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

This reverts commit 2ee8c44021.

* Update darksky.py
2017-01-26 22:32:45 -08:00
..
__init__.py Bugfix default values to timedelta (#5193) 2017-01-06 00:16:12 +01:00
amcrest.py Bump amcrest version and refactored to simplify code (#5499) 2017-01-22 14:22:25 +01:00
apcupsd.py Migrate to voluptuous (#2954) 2016-08-30 21:34:33 +02:00
api_streams.py Have api_streams sensor also monitor websocket connections (#4668) 2016-12-02 18:17:46 -08:00
arduino.py Migrate to voluptuous (#3737) 2016-10-11 00:56:57 -07:00
arest.py [binary_sensor.arest] Fix name for sensor and shorten logger messages (#5460) 2017-01-24 19:54:14 +01:00
arwn.py Clean-up (#4894) 2016-12-15 22:12:33 -08:00
bbox.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
bitcoin.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
bloomsky.py Fix bloomsky platform discovery (#3303) 2016-09-10 09:12:24 -07:00
bom.py Bom weather platform (#5153) 2017-01-15 12:12:50 +01:00
broadlink.py Broadlink fix (#5065) 2017-01-03 23:45:11 +01:00
coinmarketcap.py Avoid TypeError for state (#4897) 2016-12-15 22:14:59 -08:00
command_line.py Bugfix default values to timedelta (#5193) 2017-01-06 00:16:12 +01:00
cpuspeed.py Clean-up, ordering, constants, and extend of schema (#2903) 2016-08-20 15:40:16 -07:00
cups.py CUPS sensor (#4142) 2016-11-03 09:31:50 +01:00
currencylayer.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
darksky.py Added forecast support to DarkSky (#5264) 2017-01-26 22:32:45 -08:00
demo.py Correct celcius to celsius (#1860) 2016-04-19 20:30:44 -07:00
deutsche_bahn.py Upgrade schiene to 0.18 (#4359) 2016-11-12 12:30:05 -08:00
dht.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
dovado.py Support for Dovado routers (#4176) 2016-11-02 21:20:21 -07:00
dsmr.py DSMR: TCP, reconnecting and V4 CRC support (#5164) 2017-01-16 23:56:00 -08:00
dte_energy_bridge.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
dublin_bus_transport.py [sensor] Add Dublin bus RTPI sensor (#5257) 2017-01-13 19:15:46 +02:00
dweet.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
ecobee.py binary occupancy sensor (#2869) 2016-08-19 00:11:56 -07:00
efergy.py Extending efergy component for get the amount of energy consumed (#4202) 2016-12-01 22:00:17 -08:00
eliqonline.py Bugfix default values to timedelta (#5193) 2017-01-06 00:16:12 +01:00
emoncms.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
enocean.py Fix broken EnOcean support (#4710) 2016-12-05 08:15:36 -08:00
envisalink.py Added a dispatch call to the envisalink sensor to also get partition status updates. 2016-09-26 20:13:41 -07:00
fastdotcom.py add manual option to prevent scheduled tests. (#4906) 2016-12-15 22:55:51 -08:00
fitbit.py Reorganize HTTP component (#4575) 2016-11-25 13:04:06 -08:00
fixer.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
fritzbox_callmonitor.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
glances.py Remove globally disable pylint issue (#4565) 2016-11-24 12:25:01 +01:00
google_travel_time.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
gpsd.py Upgrade gps3 to 0.33.3 (#3222) 2016-09-06 08:53:21 -06:00
gtfs.py Remove GTFS default name & string change 2017-01-13 14:02:00 -08:00
haveibeenpwned.py Update docstrings (sensor.pi_hole, sensor.haveibeenpwned) (#3793) 2016-10-10 19:38:32 +02:00
hddtemp.py Remove globally disabled pylint warnings (#4204) 2016-11-03 18:40:43 -07:00
homematic.py Homematic fixes + device support (#5503) 2017-01-22 14:20:49 +01:00
hp_ilo.py Upgrade python-hpilo to 3.9 (#4482) 2016-11-21 17:31:14 +01:00
hydroquebec.py Upgrade beautifulsoup4 to 4.5.3 (#5519) 2017-01-23 13:23:41 -08:00
imap.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
imap_email_content.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
influxdb.py Influxdb sensor state set to unknown if query return no points (#4148) 2016-11-02 19:50:18 -07:00
ios.py iOS links (#4295) 2016-11-08 00:07:24 +01:00
isy994.py Re-enabled Weather Sensors for the ISY component. (#5148) 2017-01-05 23:33:52 +01:00
knx.py Fixed unit_of_measurement functionality for knx sensor (#4594) 2016-11-27 12:21:05 -08:00
lastfm.py Upgrade pylast to 1.7.0 (#5344) 2017-01-15 09:37:17 -08:00
linux_battery.py Upgrade batinfo to 0.4.2 (#4452) 2016-11-18 22:04:15 -08:00
loopenergy.py Bump pyloopenergy to catch SSL exception. 2017-01-02 14:15:38 +00:00
mfi.py Use setup_component in tests (#3414) 2016-09-17 10:29:58 -07:00
mhz19.py Maintenance 2nd (#4106) 2016-10-30 09:58:34 +01:00
miflora.py Remove import of datetime module 2017-01-15 21:10:02 +01:00
min_max.py New config parameter for min_max sensor to specify number of digits for rounding mean value (#4237) 2016-11-22 15:36:29 +01:00
modbus.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
mold_indicator.py Fixes moldindicator sensor after switch to asyncio (#5038) 2016-12-30 11:16:34 +01:00
mqtt.py Migrate callbacks to use schedule_update_ha_state (#4426) 2016-11-17 07:34:46 -08:00
mqtt_room.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
mysensors.py Add discovery notify support and mysensors notify (#5219) 2017-01-15 03:53:14 +01:00
neato.py Neato Fixes (#4490) 2016-11-21 19:36:44 -08:00
nest.py Move Nest sensors configuration to Nest component (#4983) 2017-01-17 00:12:15 -08:00
netatmo.py Fix if none data is present for a sensor. (#5415) 2017-01-20 09:07:03 +01:00
netdata.py Netdata sensor (#4743) 2016-12-05 11:19:20 +01:00
neurio_energy.py Update neurio library req. & fix keyerror (#5565) 2017-01-26 13:07:50 +01:00
nut.py Add support for NUT (Network UPS Tools) sensor. (#4551) 2016-12-01 08:58:16 +01:00
nzbget.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
octoprint.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
ohmconnect.py Use voluptuous for OhmConnect (#2906) 2016-08-22 08:20:31 +02:00
onewire.py Improve 1-Wire device family detection and error checking. Use volupt… (#3233) 2016-09-06 14:50:02 -06:00
openexchangerates.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
openweathermap.py Upgrade pyowm to 2.6.0 (#5071) 2016-12-26 16:31:26 +01:00
pi_hole.py Update docstrings (sensor.pi_hole, sensor.haveibeenpwned) (#3793) 2016-10-10 19:38:32 +02:00
pilight.py Use voluptuous for Pilight switch (#3819) 2016-10-31 13:18:47 +01:00
plex.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
pvoutput.py Fix docstring (#4564) 2016-11-24 10:15:00 +01:00
random.py Async cleanups with new handling and executor (#4234) 2016-11-06 01:01:03 +01:00
rest.py Added tests for REST sensors (#4115) 2016-10-30 21:51:03 -07:00
rfxtrx.py Fix wrong name handling in rfxtrx sensor (#4531) 2016-11-22 12:47:37 -08:00
sabnzbd.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
scrape.py Upgrade beautifulsoup4 to 4.5.3 (#5519) 2017-01-23 13:23:41 -08:00
sensehat.py Remove and update docstrings (#4969) 2016-12-18 11:39:33 +01:00
serial_pm.py Maintenance 2nd (#4106) 2016-10-30 09:58:34 +01:00
skybeacon.py Sync logger messages with Mi-Flora and link to docs (#5391) 2017-01-17 23:41:09 +01:00
sleepiq.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
sma.py [sensor/sma] SMA Solar Inverter sensor (#5118) 2017-01-09 21:35:47 +01:00
snmp.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
sonarr.py Add support for the Sonarr URL Base setting (#4975) 2016-12-18 10:05:05 -08:00
speedtest.py Upgrade speedtest-cli to 1.0.2 (#5483) 2017-01-21 18:26:17 +01:00
statistics.py Async cleanups with new handling and executor (#4234) 2016-11-06 01:01:03 +01:00
steam_online.py Make services yield (#4187) 2016-11-03 18:32:14 -07:00
supervisord.py Make services yield (#4187) 2016-11-03 18:32:14 -07:00
swiss_hydrological_data.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
swiss_public_transport.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
synologydsm.py Fix synologydsm (#4895) 2016-12-15 22:13:38 -08:00
systemmonitor.py Upgrade psutil to 5.0.1 (#5072) 2016-12-26 16:31:44 +01:00
tcp.py Fix TCP sensor to correctly use value_template (#5211) 2017-01-11 17:26:29 +01:00
ted5000.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
tellduslive.py Telldus Live: (#4645) 2016-12-11 21:39:37 -08:00
tellstick.py Refactor tellstick code (#4460) 2016-11-22 21:48:22 -08:00
temper.py TEMPer component: reset devices on address change (#4596) 2016-11-27 22:01:13 -08:00
template.py Async cleanups with new handling and executor (#4234) 2016-11-06 01:01:03 +01:00
thinkingcleaner.py Maintenance 2nd (#4106) 2016-10-30 09:58:34 +01:00
time_date.py Async cleanups with new handling and executor (#4234) 2016-11-06 01:01:03 +01:00
torque.py Reorganize HTTP component (#4575) 2016-11-25 13:04:06 -08:00
transmission.py Clean-up, ordering, constants, and extend of schema (#2903) 2016-08-20 15:40:16 -07:00
twitch.py Make services yield (#4187) 2016-11-03 18:32:14 -07:00
uber.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
usps.py bump dep version; add name conf (#5451) 2017-01-24 21:36:18 -08:00
vasttrafik.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
vera.py Maintenance 2nd (#4106) 2016-10-30 09:58:34 +01:00
verisure.py Use voluptuous for Verisure (#3169) 2016-09-06 18:18:34 -07:00
waqi.py Add missing particle value and refactor attributes 2017-01-25 00:52:19 +01:00
wink.py Support for python-wink 1.0.0 (#5534) 2017-01-24 21:11:18 -08:00
worldclock.py Async cleanups with new handling and executor (#4234) 2016-11-06 01:01:03 +01:00
wsdot.py Added new Washington State DOT sensor. (#5496) 2017-01-24 22:08:19 -08:00
wunderground.py Fixes issues #4844 to avoid traceback when self.rest.data is None (#4886) 2016-12-13 23:01:14 -08:00
xbox_live.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
yahoo_finance.py Upgrade yahoo-finance to 1.4.0 (#4483) 2016-11-21 17:25:43 +01:00
yr.py fix issue ##5398 in yr sensor (#5459) 2017-01-19 23:58:15 -08:00
yweather.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
zabbix.py New zabbix (#5297) 2017-01-17 00:41:37 -08:00
zamg.py Updated valid station id list (#5449) 2017-01-19 23:33:31 +01:00
zigbee.py Remove ThreadPool with async executor (#4154) 2016-11-05 09:27:55 -07:00
zoneminder.py zoneminder: Support excluding archived events (#4445) 2016-12-01 22:17:38 -08:00
zwave.py [*.zwave] Refactor of zwave value_changed (#5512) 2017-01-26 22:21:33 -08:00