core/homeassistant/components/sensor
Martin J. Laubach 1ae8256ffd Add sensor for reading Austrian ZAMG weather conditions (#4347)
* Add sensor for reading ZAMG weather conditions

* Add to coveragerc; Correct some doc style problems

* More doc fixes

* More doc fixes

* Lose license and whatever.

* Don't return UNKNOWN for unknown variables

* Verify that the configured station id is actually one in the data set.

Don't warn about unknown stations, this cannot happen any more as the configuration parser now checks that.
This could still happen if the data set is incomplete though ...

* Clean up imports

* Clarify comment on throttling interval

* Base zamg sensor on Entity, not WeatherEntity, and delete unused code

* Fix formatting nits from flake8

* Use ATTR_FRIENDLY_NAME, clean up imports, remove unnecessary indirection.

* Use {}.format() instead of "" %

* Re-add unit of measurement that got lost somehow

* Use guard clauses instead of if-matroshka.
Wrap requests.get() in try/except for RequestException.

* Huh, how did this happen? White space corrections...

* Add sensor for reading ZAMG weather conditions

* Add to coveragerc; Correct some doc style problems

* More doc fixes

* More doc fixes

* Verify that the configured station id is actually one in the data set.

Don't warn about unknown stations, this cannot happen any more as the configuration parser now checks that.
This could still happen if the data set is incomplete though ...

* Lose license and whatever.

* Don't return UNKNOWN for unknown variables

* Clean up imports

* Clarify comment on throttling interval

* Base zamg sensor on Entity, not WeatherEntity, and delete unused code

* Fix formatting nits from flake8

* Use ATTR_FRIENDLY_NAME, clean up imports, remove unnecessary indirection.

* Use {}.format() instead of "" %

* Re-add unit of measurement that got lost somehow

* Use guard clauses instead of if-matroshka.
Wrap requests.get() in try/except for RequestException.

* Huh, how did this happen? White space corrections...

* Precipitation actually is a float, good it rained today

* Logger needs no module visibility

* Do not name sensors with _ to be in line with the other weather sensor platforms.

* Remove manually set friendly_name

* comment format police

* Less comments

* Update zamg.py
2016-12-05 17:50:50 -08:00
..
__init__.py Migrate sensor to async (#4663) 2016-12-01 18:31:55 -08: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 Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
arwn.py add arwn sensor platform (#3846) 2016-10-14 00:06:04 -07: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 Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
coinmarketcap.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
command_line.py Remove fixed throttle for binary_sensor.command_line and sensor.command_line since the scan_interval is configured trough YAML since #1059 (#4586) 2016-11-27 00:29:49 -08: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 Fix Dark Sky async I/O (#4299) 2016-11-08 19:46:44 -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 hourly gas usage. (#4609) 2016-12-03 20:45:42 -08:00
dte_energy_bridge.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01: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 Migrate to voluptuous (#3144) 2016-09-03 20:36:21 -06: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 Disable too-many-* (#4107) 2016-10-30 22:18:53 +01: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 Disable too-many-* (#4107) 2016-10-30 22:18:53 +01: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 update with HomematicIP/HomematicWired support and multible… (#4568) 2016-11-29 20:53:02 +01:00
hp_ilo.py Upgrade python-hpilo to 3.9 (#4482) 2016-11-21 17:31:14 +01: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 Add ISY programs and support for all device types (#3082) 2016-09-11 20:18:53 +02:00
knx.py Fixed unit_of_measurement functionality for knx sensor (#4594) 2016-11-27 12:21:05 -08:00
lastfm.py Make services yield (#4187) 2016-11-03 18:32:14 -07:00
linux_battery.py Upgrade batinfo to 0.4.2 (#4452) 2016-11-18 22:04:15 -08:00
loopenergy.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01: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 Upgrade miflora to 0.1.13 (fixes #4479) (#4524) 2016-11-22 15:41:37 +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 Disable too-many-* (#4107) 2016-10-30 22:18:53 +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 Fix mysensors overwriting gateway in GATEWAYS (#4013) 2016-11-06 10:49:43 -08:00
neato.py Neato Fixes (#4490) 2016-11-21 19:36:44 -08:00
nest.py Make sure all nest platforms require discovery info (#4734) 2016-12-04 14:33:50 -08:00
netatmo.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
netdata.py Netdata sensor (#4743) 2016-12-05 11:19:20 +01:00
neurio_energy.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +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 Fix typo in OWM (#4458) 2016-11-18 22:54:46 +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 Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
serial_pm.py Maintenance 2nd (#4106) 2016-10-30 09:58:34 +01:00
sleepiq.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
snmp.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
sonarr.py Add exception handling to Sonarr (#4569) 2016-11-27 21:11:49 -08:00
speedtest.py Upgrade speedtest-cli to 1.0.0 (#4578) 2016-11-25 12:30:53 -08: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 synology dsm doing I/O inside loop (#4699) 2016-12-04 09:54:49 -08:00
systemmonitor.py systemmonitor: Support monitoring removable network interfaces (#4462) 2016-11-24 10:14:38 +01:00
tcp.py Migrate to voluptuous (#3748) 2016-10-21 21:14:35 -07:00
ted5000.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
tellduslive.py Don't fail if component name is None. Fixes (#4345) 2016-11-12 14:16:27 -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
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 Update throttle and add more attributes (#4644) 2016-12-01 22:15:48 -08:00
wink.py Wink PubNub v4 (#4561) 2016-11-30 13:12:26 -08:00
worldclock.py Async cleanups with new handling and executor (#4234) 2016-11-06 01:01:03 +01:00
wunderground.py #4421 - Forced icons to be displayed via SSL to avoid Mixed Content warnings (#4544) 2016-11-25 20:03:12 +00: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 Yr.no: New aiohttp client needs params to form websession URL (#4634) 2016-12-01 08:20:21 +02:00
yweather.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
zamg.py Add sensor for reading Austrian ZAMG weather conditions (#4347) 2016-12-05 17:50:50 -08: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 Include index and instance in object_id of zwave devices (#3759) 2016-10-13 21:13:05 -07:00