Commit Graph

139 Commits (87e23e7d73c7b14140ed9ba1796aa1d654b2b015)

Author SHA1 Message Date
Fabian Affolter 4563c54a3e Add link to docs and modify docstrings to match PEP257 2016-02-24 10:38:06 +01:00
Paulus Schoutsen e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
Dan Smith 9aa4028718 Fix #1287 for honeywell US systems with no fan
This bumps the somecomfort requirement to 0.2.1 to pull in a change
that makes handling no-fan systems graceful. Adds a test that should
prove it gives us what we want.

If no fan, then fan is always idle and fanmode is None.
2016-02-17 08:16:02 -08:00
Dan Smith 0fbd947426 Test Honeywell Round thermostat
This includes two changes to the round code:
 - Return True on setup success
 - Break out the default away temp into a constant
2016-02-14 01:05:18 +00:00
Dan Smith 5921e65d83 Allow specifying location and/or thermostat for Honeywell US
This lets you optionally only add thermostats by location or
specific device id, instead of all the thermostats in your
account. This would be helpful if you have two devices in different
houses (i.e vacation home), etc.
2016-02-13 23:13:38 +00:00
Dan Smith c51dd64bd8 Convert Honeywell platform to use somecomfort library 2016-02-13 23:13:33 +00:00
Dan Smith d3d7d458e1 Make Honeywell module enumerate all available thermostats
This extends the HoneywellUSThermostat functionality to find and add
all thermostats in your account. So, we add a new config element called
'region' that is the primary trigger for this, and remove the 'id'
trigger since it was never in a released version.

This does a few extra things:
 - It names the thermostat what you have it named in your account,
   which is not something we get to know *unless* we emumerate.
 - It makes all thermostats on a given account use the same session,
   and thus we have to avoid doing an explicit login every time we
   refresh our data. That was causing some rate-limiting on their
   side when I was debugging, so this is probably good. Now, we use
   their existing keepalive pinger to determine if we're still logged
   in and only re-login if we need to.
2016-02-11 15:26:41 +00:00
Paulus Schoutsen f08b77dc4c Clean up state_attributes vs device_state_attributes 2016-02-06 22:34:24 -08:00
Dan Smith 062fe79b3f Add Honeywell US thermostat support
This adds support for the US variant of the Honeywell connected
thermostat. The interface is super simple, so this doesn't add
any external dependencies. It supports basic temperature, setpoint,
and control.

Issue #998 notes that the existing honeywell module doesn't work
for US models, which is because they are totally different. In order
to indicate to the honeywell platform module that the thermostat
is a US-type, we key off of whether or not the thermostat id is
provided. This is something that US people have (and require to
identify one of potentially multiple thermostats in their account)
and EU people will not.
2016-02-06 20:14:40 +00:00
Fabian Affolter 356013118d Update docstrings 2016-02-03 15:13:53 +01:00
Paulus Schoutsen cbc6323438 Fix imports 2016-01-28 21:45:26 -08:00
Michael Auchter 881c82c2df nest: implement fan control 2016-01-24 12:47:21 -06:00
Michael Auchter df94c909f7 thermostat: add service to control fan mode 2016-01-24 12:47:21 -06:00
Michael Auchter a0ed469aa2 thermostat: move fan attribute up to thermostat 2016-01-24 12:47:20 -06:00
Michael Auchter afa4fc4ef5 thermostat: split up services 2016-01-24 12:47:20 -06:00
Joseph Hughes 80023f62d9 Merge remote-tracking branch 'upstream/dev' into nest_sensor
# Conflicts:
#	.coveragerc
#	requirements_all.txt
2016-01-15 08:18:16 -07:00
Fabian Affolter 90c2aed7b4 Update docstrings 2016-01-15 08:55:59 +01:00
Paulus Schoutsen 40c75f0a51 Merge pull request #887 from sdague/dev
Add support for Proliphix thermostat
2016-01-14 22:03:09 -08:00
Joseph Hughes 9210c57c2d Fix lint errors and PR comments 2016-01-14 14:32:43 -07:00
Joseph Hughes a39148dd38 fix pylint errors for Nest Sensor 2016-01-14 11:37:17 -07:00
Joseph Hughes ac34db3c8a Merge remote-tracking branch 'upstream/dev' into nest_sensor
# Conflicts:
#	.coveragerc
#	requirements_all.txt
2016-01-14 11:00:34 -07:00
Sean Dague d867366be1 add proliphix thermostat support
The proliphix nt10e is an early network thermostat that supports an
HTTP interface. This adds basic support for it to home-assistant (get
/ set heating setback).
2016-01-14 06:32:08 -05:00
Joseph Hughes 0e6a60b086 Add the nest sensor for tracking data from nest 2016-01-13 21:05:47 -07:00
Sean Dague 4fc0163139 round min / max values for temperature
In order for the polymer thermostat component to have sensible step
values the min / max values have to be round numbers. The current code
only does that for systems running in degrees C. For those of us in
silly land that still function in degrees F, this causes some
oddities in the UI.

Always round mix / max values to make it good no matter what
fundamental units we are in.
2016-01-13 21:22:56 -05:00
Paulus Schoutsen 3b7b12bbd5 Make Flake8 happy 2016-01-12 21:53:27 -08:00
sander 55c5d254d5 some more pylinting.. 2016-01-02 21:09:03 +01:00
sander 36f5caa214 more pylinting.. 2016-01-02 20:59:45 +01:00
sander 8c7898ed05 pylinting.. 2016-01-02 20:53:25 +01:00
sander 39de92960d line too long change 2016-01-02 20:27:40 +01:00
sander 8f2ca856c7 added return False 2016-01-02 11:56:07 +01:00
sander c703c89dbd implement away mode 2016-01-01 15:29:58 +01:00
Tom Duijf 4eec89b35e fixed my own cleanup 2015-12-16 22:36:40 +00:00
Tom Duijf 687ce64551 small cleanup heatmiser 2015-12-16 22:21:32 +00:00
Tom Duijf 31b4c8eb4d Fixed imports 2015-12-16 21:52:49 +00:00
Paulus Schoutsen 13b0d2afa3 Merge pull request #729 from mchrisb03/dev
Correct target temp for ecobee in heat or cool mode
2015-12-11 08:48:03 -08:00
Chris Baumgartner 2368e5f4ec The target temp (shown in Thermostat card) is not correct when running in heat or cool modes. It is ok for auto mode. 2015-12-11 09:47:28 -06:00
andylockran e19af76c70 Added heatmiser thermostat support 2015-12-11 12:45:27 +00:00
nkgilley@gmail.com 502184812d fix flake8 warnings 2015-12-02 16:37:16 -05:00
nkgilley@gmail.com 02a8ce71d0 fix req_all 2015-12-02 16:32:28 -05:00
nkgilley@gmail.com 08de7d954a improve support for multiple thermostats. 2015-12-02 16:22:25 -05:00
Paulus Schoutsen dd0424435a Merge branch 'heatcontroll_config' into dev 2015-12-01 23:34:30 -08:00
Andrew Stock 1ce81ee6db Fixing exception 2015-12-01 21:30:44 +00:00
Andrew Stock 228142e497 Adding Honeywell Evohome support 2015-12-01 21:23:28 +00:00
Daniel Hoyer Iversen 2e89f0a8c7 style fix in heat control 2015-11-30 11:45:09 +01:00
Daniel Høyer Iversen 758c0aae24 Update heat_control.py 2015-11-30 10:32:32 +01:00
Daniel Høyer Iversen 8fee38f2cd style fix in heat control 2015-11-30 10:05:05 +01:00
Daniel Høyer Iversen 2732b20305 style fix in heatcontrol 2015-11-30 09:22:04 +01:00
Daniel Høyer Iversen ac59847120 Update heat_control.py 2015-11-30 09:14:32 +01:00
Paulus Schoutsen a301d869d7 PyLint 1.5 fixes 2015-11-29 13:49:05 -08:00
Paulus Schoutsen 1146d6e58d Allow thermostat temperatures with decimal numbers 2015-11-28 01:18:02 -08:00