Commit graph

65 commits

Author SHA1 Message Date
Robbie Trencheny
2efd7d4e4a Hue improvements (#5474)
* Allow automatic removal of all Hue entities from emulated_hue

* Allow disabling of Hue groups

* Only add device state attributes if they need to be there
2017-01-20 22:20:07 -08:00
Paulus Schoutsen
832f9737a8 Fix hue groups on older hubs (#4884) 2016-12-13 23:46:27 -08:00
Michaël Arnauts
b156ae7812 Add support for Hue LightGroups (#4744)
* Add support for Hue LightGroup entity

* Don't filter on LightGroup and add properties for a group

* Reuse code from HueLight in HueLightGroup

* Remove HueLightGroup and add is_group variable to HueLight

* Make linter happy

* Update light or lightgroup state when a new state is available

* Use schedule_update_ha_state() to schedule the state update. Drop new_lightgroups and use new_lights instead.

* code style fix
2016-12-11 17:59:30 -08:00
Keaton Taylor
d02899216d Prevent emulated hue discovery by hue component (#4819)
* Prevent emulated hue discovery

Test for “HASS Bridge” in discovery info, pass if found, else try and
setup the bridge.

* Solved coding error

Duplicate commands and return false added for component.
2016-12-09 08:45:14 -08:00
Sean Dague
cd1655f43b create light.hue_activate_scene service (#4425)
* create light.hue_activate_scene service

This creates a light.hue_activate_scene service that takes group_name
and scene_name, and calls phue's bridge.run_scene with those
parameters. This allows calling hue bridge stored scene names by name
during automation.

This only currently works reliably in 1 hue hub configurations (which
is most of them). Phue will be further enhanced to display warnings
when it can't figure out what to do with the parameters passed in to HA.

* Update hue.py
2016-11-17 22:14:06 -08:00
Sean Dague
7bdb79bd54 bump phue to 0.9 (#4404)
This increases the phue library to 0.9, which includes some basic
Scene support that could be consumed from home assistant.
2016-11-15 21:14:54 -08:00
Fabian Affolter
be272ac64a Disable too-many-* (#4107)
* Disable too-many-* and too-few-public-methods

* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Adam Mills
89e8fb4066 Configurator support for entity_picture (#4028) 2016-10-24 22:28:34 -07:00
Pascal Vizeli
08bacd8e31 Bugfix voluptuous for hue (#3589) 2016-09-29 09:06:41 -07:00
Fabian Affolter
f75b0a99d9 Use voluptuous for Hue (#3340)
* Migrate to voluptuous

* Change name used in test
2016-09-20 12:35:10 +02:00
Paulus Schoutsen
8a99ce78c2 Better Hue error reporting (#3443) 2016-09-18 19:59:38 -07:00
Robbie Trencheny
0f37d8d8eb Using alert with Hue maintains prior state (#3147)
* When using flash with hue, dont change the on/off state of the light so that it will naturally return to its previous state once flash is complete

* ATTR_FLASH not ATTR_EFFECT
2016-09-04 03:04:12 -07:00
Assaf Inbal
72ad1d8d7c Added support for exposing light features (#2828) 2016-08-15 23:07:07 -07:00
rhooper
449be29022 support newer deCONZ api versions (#2410) 2016-07-02 11:18:54 -07:00
Nolan Gilley
191fc8f8d4 Change color_RGB_to_xy formula & return brightness (#2095)
* Use RGB to XY calculations from Philips Hue developer site

* uppercase X,Y,Z

* rename cx,cy to x,y

* return brightness in color_RGB_to_xy

* remove try/catch

* update existing platforms using color_RGB_to_xy

* improve wemo w/ jaharkes suggestion

* allow brightness override of rgb_to_xy
2016-05-21 10:19:27 -07:00
Dan
276c2070be Do not setup or configure a hue bridge twice (#1848)
Tracks previously configured bridges by IP and prevents duplicates
from being configured
2016-04-17 22:41:31 -07:00
Jon Maddox
9fe17423ea pass allow_unreachable for callback 2016-03-15 10:37:47 -04:00
Jon Maddox
b7b34b280f just pass them in 2016-03-15 10:27:56 -04:00
Jon Maddox
971fe8bc7b style 2016-03-15 10:27:46 -04:00
Jon Maddox
95d5c456d7 ignore unreachable state if opted in 2016-03-15 10:15:29 -04:00
Jon Maddox
dd33831cb1 pass allow_unreachable all the way down the line 2016-03-15 10:15:10 -04:00
Jon Maddox
5abff70a87 read in allow_unreachable config value 2016-03-15 10:13:57 -04:00
Fabian Affolter
7e8e91ef3c Fix PEP257 issues 2016-03-07 22:08:21 +01:00
Paulus Schoutsen
73ec049d1c Do not expect Hue light to have a brightness 2016-02-27 14:27:16 -08:00
Paulus Schoutsen
e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
Roy Hooper
d0a8a57ae4 Ensure filename arg is passed around everywhere it's needed. 2016-01-03 15:30:06 -05:00
Roy Hooper
0361f37178 Support multiple hue hubs using a filename parameter. 2016-01-02 16:13:58 -05:00
Roy Hooper
a36ae4b24a Reduce chatiness 2016-01-02 01:01:11 -05:00
Roy Hooper
4e2d75a8f4 fix style 2015-12-30 16:59:22 -05:00
Roy Hooper
b0734e613f Add support for deCONZ (Raspbee-GW hue-like API) - Doesn't support the none transition type, so don't send it 2015-12-30 13:54:18 -05:00
richard
5c7fb5d7ae Fix styling issues 2015-12-24 21:35:36 -06:00
richard
0dfc1c4e7a Add functionality set random color Philips Hue 2015-12-24 21:10:27 -06:00
Paulus Schoutsen
0555294afe Remove Hue transition time limit 2015-12-01 23:33:55 -08:00
Fabian Affolter
97f9f8aa49 Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
Paulus Schoutsen
95320f39b3 Light: base color now in RGB instead of XY 2015-11-07 01:25:33 -08:00
Tom Duijf
f456d2ff23 styling fix 2015-10-28 23:16:25 +00:00
Tom Duijf
6bad702db4 Renamed to color_temp, removed capabilities (not needed afterall) 2015-10-28 23:12:16 +00:00
Tom Duijf
e25503bc4a Hue device capabilities. Color temperature support for light component and hue platform 2015-10-27 22:34:49 +00:00
Paulus Schoutsen
18747f8ae1 Update some docs 2015-10-25 23:12:10 -07:00
Ryan Kraus
893ae15042 Changed component REQUIREMENTS to absolute versions. 2015-08-29 21:39:50 -04:00
Paulus Schoutsen
e917479fba Update netdisco to latest version 2015-08-23 17:18:52 -07:00
Fabian Affolter
06a40ad30c update header 2015-08-11 19:12:32 +02:00
Paulus Schoutsen
b6fd282143 Merge remote-tracking branch 'origin/dev' into auto-dependency
Conflicts:
	homeassistant/components/media_player/cast.py
2015-07-10 21:48:01 -07:00
Michaël Arnauts
7530109ce8 Implement the colorloop effect for hue lights 2015-07-08 20:26:37 +02:00
Paulus Schoutsen
940b2998ea Add REQUIREMENTS list to components 2015-07-07 00:01:46 -07:00
Paulus Schoutsen
d3320963c3 Refactor basic light structure 2015-06-13 16:42:09 -07:00
Paulus Schoutsen
a9324ba9d4 Update components to use Entity instead of Device 2015-03-21 19:16:13 -07:00
Paulus Schoutsen
7a7f486cb2 Rename config.get_config_path to config.path 2015-03-19 12:27:56 -07:00
Paulus Schoutsen
9b643d57f0 ps: Add a global config object to Home Assistant 2015-03-18 23:02:58 -07:00
Paulus Schoutsen
3e15742875 Move device ABCs to separate helper file 2015-03-05 23:18:22 -08:00