Commit graph

29 commits

Author SHA1 Message Date
Matthew Schick
c29553517f Add service to set nest away/home modes ()
* Add service to set nest away/home modes

* New service `nest.set_mode`
* Update the NestDevice object to export the local structures

* Validation and structure cleanup
2017-06-04 23:45:24 -07:00
Fabian Affolter
3ee4d1060f Update docstrings ()
* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update tomato.py

* Update isy994.py

* Lint + fix tests

* Lint
2017-04-29 22:04:49 -07:00
Josh Wright
35f6dbc9dc Update python-nest dependency version ()
The nest-cam changes have now been merged into the upstream library, so
there is no need to track a specific branch.

Updating to 3.1.0 also fixes a structure parsing bug I was experiencing.
2017-02-07 22:55:49 +01:00
R1chardTM
321a8be339 Move Nest sensors configuration to Nest component ()
* Move Nest sensor config to Nest Component

* Ensure Nest Protect sensors are added without specified sensor config

* Fix pylint warnings

* Remove support for empty monitored condion list

* Remove scan interval

* Remove scan interval import

* Add Nest sensors by default with opt-out
2017-01-17 00:12:15 -08:00
Daniel Høyer Iversen
196897fdfc Fix python-nest release number ()
* fix_#5365

* fix_#5365
2017-01-16 18:03:26 +01:00
Josh Nichols
6c50f53696 Nest fixes ()
* Updated Nest API to have logical names

* Fix NoneType not having replace method in NestSensor constructor

* Move name setting to constructor, in case zone.name causes IO.

* normalize is_online to online

* Updated python-nest API

* push is_* helpers down to python-nest, and use inheritence to implement rather than checking class name

* Update python-nest
2016-12-22 20:22:07 +01:00
Josh Nichols
64de1c9777 Bump python-nest to fix issue with Nest Cam without activity zones ()
* Bump python-nest to fix issue with Nest Cam without activity zones

* bump to include fix python-nest dependency with hvac_state

* regenerate requirements_all.txt
2016-12-09 11:04:40 -08:00
R1chardTM
695f062e29 Fix python-nest version bump ()
* Fix python-nest version bump

* Change SHA so version in HASS and dependency are the same
2016-12-07 21:45:43 -08:00
Josh Nichols
9a3fe691b1 Updated python-nest dependency ()
* Updated python-nest dependency

This sha fixes two issues:

- min and max temperatures not being set when temperature isn't locked
- fixes error when setting farenheit with a .5

* gen requirements all

* Add fix for https://github.com/home-assistant/home-assistant/issues/4731
2016-12-06 20:31:07 -08:00
Josh Nichols
10d1496f5a Updated python-nest to fix a camera bug when loading images () 2016-12-03 17:55:14 -08:00
Paulus Schoutsen
d3b62e1fe1 Requirements use zip instead of git () 2016-12-03 10:18:00 -08:00
Josh Nichols
64a5bff5b2 Nest further improvements ()
* Further improvements on nest platform

- fix binary sensor
- add deprecations for monitored_conditions
- better names for sensors (includes device type)

* lint

* Remove unused weather sensor

* Fix to python-nest to a specific commit

* lint

* lint

* lint

* lint
2016-12-03 09:26:47 -08:00
Josh Nichols
84b12ab007 Nest Cam support ()
* start nestcam support

* start nestcam support

* introduce a access_token_cache_file

* Bare minimum to get nest thermostat loading

* occaisonally the image works

* switch to nest-aware interval for testing

* Add Nest Aware awareness

* remove duplicate error logging line

* Fix nest protect support

* address baloobot

* fix copy pasta

* fix more baloobot

* last baloobot thing for now?

* Use streaming status to determine online or not. online from nest means its on the network

* Fix temperature scale for climate

* Add support for eco mode

* Fix auto mode for nest climate

* update update current_operation and set_operation mode to use constant when possible. try to get setting something working

* remove stale comment

* unused-argument already disabled globally

* Add eco to the end, instead of after off

* Simplify conditional when the hass mode is the same as the nest one

* away_temperature became eco_temperature, and works with eco mode

* Update min/max temp based on locked temperature

* Forgot to set locked stuff during construction

* Cache image instead of throttling (which returns none), respect NestAware subscription

* Fix _time_between_snapshots before the first update

* WIP pin authorization

* Add some more logging

* Working configurator, woo. Fix some hound errors

* Updated pin workflow

* Deprecate more sensors

* Don't update during access of name

* Don't update during access of name

* Add camera brand

* Fix up some syntastic errors

* Fix ups ome hound errors

* Maybe fix some more?

* Move snapshot simulator url checking down into python-nest

* Rename _ready_to_update_camera_image to _ready_for_snapshot

* More fixes

* Set the next time a snapshot can be taken when one is taken to simplify logic

* Add a FIXME about update not getting called

* Call update during constructor, so values get set at least once

* Fix up names

* Remove todo about eco, since that's pretty nest

* thanks hound

* Fix temperature being off for farenheight.

* Fix some lint errors, which includes using a git version of python-nest with updated code

* generate requirements_all.py

* fix pylint

* Update nestcam before adding

* Fix polling of NestCamera

* Lint
2016-11-27 16:18:47 -08:00
Pascal Vizeli
91227d9a2e Refactory nest component/platforms ()
* Refactory nest component/platforms
2016-11-04 20:22:47 -04:00
Ferry van Zeelst
8c9d1d9af1 Added additional checks which hides functions which are not supported by Nest ()
* Added additional checks which hides functions which are not support (like fans / humidity / cooling)

* Fixed pylint and flake8 errors (not test file available)

* Fixed pydocstyle error

* Refactored Code and Comments as described in pull-request

* Added additional comment and requesting retest

* Upgraded to python-nest 2.11 which contains previously hidden functions
2016-10-10 23:57:14 -07:00
Marcelo Moreira de Mello
70fc94003d Fixed issue and bumped python-nest to 2.10.0 version ()
* Fixed issue  and bumped python-nest to 2.10.0 version

*    Fixed return state when accessing attribute operation_mode

* Fixed typo
2016-10-04 22:29:21 -07:00
Fabian Affolter
d2dfe04ec9 Update voluptuous for nest ()
* Update configuration check
* Extend platform
2016-09-01 22:08:03 +02:00
Robby Grossman
78b2c87b54 Implement support for NEST structures. ()
* Implement support for NEST structures.

* Conform to balloobbot style preferences.

* Log to debug level rather than info level.

* Use config validation to coerce list format if supplied as string.

* Use list comprehension for more succinct code.

* Conform to project linting standards.
2016-08-23 22:47:53 -07:00
John Arild Berentsen
ada4de3ffb Migrate Thermostat and HVAC component to climate component ()
* First draft for climate

* Updates for thermostats
2016-08-19 00:17:28 -07:00
Paulus Schoutsen
5bedf5d604 Upgrade Nest to 2.9.2 () 2016-05-21 11:57:33 -07:00
Richard Cox
0340710e5c Support for Nest Protect smoke alarms ()
* Support for Nest Protect smoke alarms

* Fixing formatting issues from tox
2016-05-15 12:29:12 -07:00
Jan Harkes
9d848731d9 Nest config validation ()
* Config validation for Nest platforms.
2016-04-11 21:52:19 -07:00
Jan Harkes
faebc9e2c4 Config validation for nest component 2016-04-01 10:31:39 -04:00
Fabian Affolter
b8a40457ee Update docstrings to match PEP257 2016-03-07 18:50:30 +01:00
Paulus Schoutsen
e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
Joseph Hughes
313cbda0aa fix multiple PR issues 2016-01-14 14:17:28 -07:00
Joseph Hughes
0e6a60b086 Add the nest sensor for tracking data from nest 2016-01-13 21:05:47 -07:00
Paulus Schoutsen
8f3a3f89a7 Refactor nest component into thermostat component 2015-01-06 00:10:33 -08:00
sfiorini
b1a93ffc21 Added "Nest" thermostat component. 2015-01-05 19:11:02 -06:00