Commit graph

1771 commits

Author SHA1 Message Date
Russell Cloran
7596ac23fc zha: Update to bellows 0.4.0 ()
Fixes: 
2017-10-15 21:41:16 -07:00
Eugenio Panadero
ac256d5943 handle OWM API error calls () 2017-10-15 10:31:34 +02:00
Fabian Affolter
00244380a8 Upgrade psutil to 5.4.0 () 2017-10-14 23:07:31 +02: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
Kevin Fronczak
fd6c2598a7 Uptime sensor ()
* Added uptime sensor for homeassistant

* Fixed pylint and flake8 errors

* Made requested changes from PR

- Fixed stale docstrings
- Changed default state to None
- Added ability for user to use hours or days

* Fixed typo

* Added unit_of_measurement check to test

* Converted to async

- Changed tests to work with async

* Minor updates
2017-10-14 20:06:44 +02:00
Alan Fischer
4cf300a710 Fixed reporting of vera UV sensors () 2017-10-12 20:51:25 +03:00
Sean Dague
d0ec9301ab Fix off by one error in arwn platform ()
There is an off by one error that causes period exceptions. Fix this.
2017-10-09 15:41:18 +02:00
Sergey Isachenko
9abd0fb92f Tesla bug fixes. ()
* Tesla bug fixes.

* Added myself to CODEOWNERS for tesla.
2017-10-09 14:38:00 +03:00
Marcelo Moreira de Mello
80140732c3 Bump raincloudy version 0.0.3 ()
* Bump raincloudy version 0.0.3

* Fix logic for raincloudy status binary_sensor

* Simplified binary_sensor logic

* Simplify
2017-10-08 21:08:40 -07:00
ChristianKuehnel
b620c433c0 Initializing statistics sensor with data from database ()
* Initializing statistics sensor with data from database

* fixed broken test case

* usage of recorder component is now optional, thx to @andrey-git

* added test case for initialize_from_database
2017-10-08 23:45:12 +02:00
Mister Wil
8132989f91 Skybell ()
* New Skybell platform with components

* Added skybell components to omit.

* Preemptively fixing lint issues (hopefully).

* Removed unused variable.

* Requested changes.

* Additional CRs

* Hopefully the last of the CR's!
2017-10-08 20:14:39 +02:00
Marcelo Moreira de Mello
f56bdd29ff Make Arlo battery_level icon dynamic ()
* Make Arlo battery_level icon dynamic

* makes lint happy
2017-10-08 10:05:41 +02:00
Fabian Affolter
19a20b3b13 Move 'show_on_map' to const () 2017-10-07 15:11:41 +02:00
Aaron Bach
bd5b70c3cd Add show_on_map config option to AirVisual ()
* Removed lat/long attributes

* Linting

* Revised PR to focus on show_on_map configuration
2017-10-07 13:38:52 +02:00
Marcelo Moreira de Mello
ec5439e4d4 Introducing support to Travis-CI ()
* Introduced support to Travis CI

* Added Last Build Started sensor and simplified code

* Fixed logic error

* Simplified _LOGGER.debug statement

* Introduced support to Travis CI

* Added Last Build Started sensor and simplified code

* Fixed logic error

* Simplified _LOGGER.debug statement

* Renamed parameter since the repository_names expects a list

* Refactoring code to synchronous

* Simplified variables names
2017-10-07 11:02:40 +02:00
Fabian Affolter
fd509e188a Arlo clean-up ()
* Fix remaining isses from 

* More clean-up
2017-10-07 10:59:46 +02:00
Mister Wil
a5a839e72a Abode Temp, Humidity, and Light Sensor ()
* Update to 0.12.1 and sensor implementation.

* Removing unnecessary dict gets.

* Added name property to actually use the _name variable.

* Update docstring
2017-10-07 10:25:53 +02:00
Fabian Affolter
e502202de7 Upgrade pysnmp to 4.3.10 () 2017-10-07 09:47:52 +02:00
Kevin Fronczak
2479ce9123 More netdata sensors ()
* Added more netdata sensors

* Changed precision on counts, packets, and uptime
2017-10-07 00:22:40 +02:00
Marcelo Moreira de Mello
7b116b0207 Updating helper's icon_for_battery_level location () 2017-10-06 09:17:18 +03:00
happyleavesaoc
b83059c828 move icon battery function from util to helpers () 2017-10-05 20:55:19 -07:00
Fabian Affolter
6de403e0ac Support for The Things Network ()
* Support for The Things network's Data Storage

* Rename platform and other changes (async and dict)

* Rename sensor platform and remove check for 200
2017-10-05 09:12:02 -07:00
Lewis Juggins
8db4641455 [light.tradfri] async support with resource observation. ()
* [light.tradfri] Initial support for observe

* Update for pytradfri 2.0

* Fix imports

* Fix missing call

* Don't yield from add devices

* Fix imports

* Minor fixes to async code.

* Imports, formatting

* Docker updates, some minor async code changes.

* Lint

* Lint

* Update pytradfri

* Minor updates for release version

* Build fixes

* Retry observation if failed

* Revert

* Additional logging, fix returns

* Fix rename

* Bump version

* Bump version

* Support transitions

* Lint

* Fix transitions

* Update Dockerfile

* Set temp first

* Observation error handling

* Lint

* Lint

* Lint

* Merge upstream changes

* Fix bugs

* Fix bugs

* Fix bugs

* Lint

* Add sensor

* Add sensor

* Move sensor attrs

* Filter devices better

* Lint

* Address comments

* Pin aiocoap

* Fix bug if no devices

* Requirements
2017-10-05 09:05:38 -07:00
bestlibre
84271a2dac Refactoring of onewire sensor component () 2017-10-04 16:35:58 +02:00
Daniel Høyer Iversen
4314dc251f Add Tibber sensor ()
* Add Tibber sensor

* remove extra space
2017-10-04 10:31:42 +02:00
Johan Bloemberg
e0de521388 Implement DSMR5 support. ()
* Allow configuring DSMR5 protocol.

* Give good example.

* Using dev branch until released upstream.

* Update to dsmr_parser supporting v5 arguments.

* Update to latest dmsr parser, preventing exceptions thrown where warnings would suffice.

* Update even more

* Update requirements.

* Update requirements
2017-10-04 10:20:08 +02:00
Fabian Affolter
3bd31b91fb Upgrade googlemaps to 2.5.1 () 2017-10-02 17:17:22 +02:00
Fabian Affolter
25e00556d0 Upgrade influxdb to 4.1.1 ()
* Upgrade influxdb to 4.1.1

* Upgrade influxdb to 4.1.1
2017-10-02 17:17:08 +02:00
Vignesh Venkat
b4551cc127 arlo: Add battery level sensor ()
* arlo: Add battery level sensor

Adds a battery level sensor that monitors the battery level on
Arlo cameras.

* Fix lint issue
2017-10-02 12:38:55 +02:00
Gabor SZOLLOSI
fa32411ab1 wunderground: fix supported language codes ()
* removed PU, added TR language code (https://www.wunderground.com/weather/api/d/docs?d=language-support&MR=1), fixes 
2017-10-01 12:41:21 +02:00
Alan Fischer
e406c57ec9 Switched VeraSensor to use category ids () 2017-09-29 23:34:14 +02:00
Fabian Affolter
52561d4f7c Move 'voltage' to const () 2017-09-29 12:05:02 +02:00
Marcelo Moreira de Mello
19932bce53 Introducing support to Melnor RainCloud sprinkler systems ()
*  Introducing support to Melnor RainCloud sprinkler systems

* Make monitored_conditions optional for sub-components

*  Part 1/2 - Modified attributes, added DATA_ constant and using battery helper

* Part 2/2 - Refactored self-update hub

* Fixed change requested:
- Dispatcher signal connection
- Don't send raincloud object via dispatcher_send()
- Honoring the dynamic scan_interval value on track_time_interval()

* Inherents async_added_to_hass() on all device classes

* Makes lint happy

* * Refactored RainCloud code to incorporate suggestions.
  Many thanks to @pvizelli and @martinhjelmare!!

* Removed Entity from RainCloud sensor and fixed docstrings

* Update raincloud.py

* Update raincloud.py

* fix lint
2017-09-29 10:08:41 +02:00
Aaron Bach
eb2338249f FedEx: Adds "packages" as a unit ()
* Adds "packages" as a unit

* Collaborator-requested changes
2017-09-27 10:44:41 -07:00
Aaron Bach
d499c18e63 Fixes UPS MyChoice exception ()
* Fixes UPS MyChoice exception

* Added unit of measurement

* Collaborator-requested changes
2017-09-27 10:44:32 -07:00
Anders Melchiorsen
154b070eae IMAP Unread sensor updated for async and push ()
* IMAP Unread sensor updated for async and push

* Implement renames suggested in review

* Use async_timeout

* Keep push capability in a variable

* Reword for Hound
2017-09-26 00:26:26 -07:00
joe248
bf176c405a Increase Comed timeout since it sometimes takes a long time for the API to respond ()
* Increase Comed timeout since it sometimes takes a long time for the API to respond

* Rewrite ComEd sensor to use asyncio

* Fix whitespace and build issues
2017-09-25 23:43:02 -07:00
Enrique Gonzalez
cf8e6d8d86 Upgrade lyft_rides to 0.2 () 2017-09-25 22:34:48 +02:00
Fabian Affolter
fafc4a6042 Upgrade dsmr_parser to 0.11 () 2017-09-25 22:19:44 +02:00
Aaron Bach
aa0fc339c0 Various AirVisual bugfixes ()
* Various AirVisual bugfixes

* Updating requirements

* Added better logging for failed data retrieval
2017-09-24 21:25:18 +02:00
happyleavesaoc
84524e0712 fix usps? () 2017-09-24 08:28:11 +02:00
Malte Franken
0d75cd484b GeoRSS sensor ()
* new geo rss events sensor

* SCAN_INTERVAL instead of DEFAULT_SCAN_INTERVAL

* removed redefinition CONF_SCAN_INTERVAL

* definition of self._name not required

* removed unnecessary check and unnecessary parameter

* changed log levels

* fixed default name not used

* streamlined sensor name and entity id generation, removed unnecessary parameter

* fixed issue for entries without geometry data

* fixed tests after code changes

* simplified code

* simplified code; removed unnecessary imports

* fixed invalid variable name

* shorter sensor name and in turn entity id

* increasing test coverage for previously untested code

* fixed indentation and variable usage

* simplified test code

* merged two similar tests

* fixed an issue if no data could be fetched from external service; added test case for this case
2017-09-24 08:12:38 +02:00
Tom Matheussen
6c0f4c35f6 Catch no longer existing process in systemmonitor ()
* Catch no longer existing process in systemmonitor

* Update log message

* Again line length
2017-09-23 18:31:25 +02:00
Michael Prokop
08b0629eca Fix a bunch of typos ()
s/Addres /Address /
s/Chnage/Change/
s/Converion/Conversion/
s/Supressing/Suppressing/
s/agains /against /
s/allready/already/
s/analagous/analogous/
s/aquired/acquired/
s/arbitray/arbitrary/
s/argment/argument/
s/aroung/around/
s/attibute/attribute/
s/auxillary/auxiliary/
s/befor /before /
s/commmand/command/
s/conatin/contain/
s/conection/connection/
s/coresponding/corresponding/
s/entites/entities/
s/enviroment/environment/
s/everyhing/everything/
s/expected expected/expected/
s/explicity/explicitly/
s/formated/formatted/
s/incomming/incoming/
s/informations/information/
s/inital/initial/
s/inteface/interface/
s/interupt/interrupt/
s/mimick/mimic/
s/mulitple/multiple/
s/multible/multiple/
s/occured/occurred/
s/occuring/occurring/
s/overrided/overridden/
s/overriden/overridden/
s/platfrom/platform/
s/positon/position/
s/progess/progress/
s/recieved/received/
s/reciever/receiver/
s/recieving/receiving/
s/reponse/response/
s/representaion/representation/
s/resgister/register/
s/retrive/retrieve/
s/reuqests/requests/
s/segements/segments/
s/seperated/separated/
s/sheduled/scheduled/
s/succesfully/successfully/
s/suppport/support/
s/targetting/targeting/
s/thats/that's/
s/the the/the/
s/unkown/unknown/
s/verison/version/
s/while loggin out/while logging out/
2017-09-23 17:15:46 +02:00
happyleavesaoc
a8784f9adf update usps ()
* update usps

* fix syntax issue
2017-09-22 21:53:16 -07:00
Daniel Perna
3aa08f6c91 Bumped pyhomematic, additional device support ()
Add an optional extended description…
2017-09-20 12:17:30 +02:00
Julius Mittenzwei
a5155a2609 renamed add_devices to async_add_devices according to hass naming scheme (second try after failed ) () 2017-09-20 01:15:20 -04:00
Pascal Vizeli
1bbaa00976 Revert "renamed add_devices to async_add_devices according to hass naming scheme ()" ()
This reverts commit a5a970709f.
2017-09-19 19:51:15 +02:00
Julius Mittenzwei
a5a970709f renamed add_devices to async_add_devices according to hass naming scheme ()
* renamed add_devices to async_add_devices according to hass naming scheme

* replaced some occurencies of async_add_entites to async_add_devices

* fixed unit test

* fixed unit test
2017-09-19 17:06:52 +02:00
Fabian Affolter
8ea7e4bb55 Upgrade blockchain to 1.4.0 () 2017-09-19 10:04:11 +02:00