Commit Graph

655 Commits (de71fee0a095ea043c66be92ad8bd6685b7fc74f)

Author SHA1 Message Date
Paulus Schoutsen e917479fba Update netdisco to latest version 2015-08-23 17:18:52 -07:00
Fabian Affolter d0fc91d84a update header 2015-08-11 19:12:32 +02:00
Fabian Affolter 19b62c1088 update header and docstrings 2015-08-11 19:12:32 +02:00
Fabian Affolter bb848e7fcd update header 2015-08-11 19:12:32 +02:00
Fabian Affolter 06a40ad30c update header 2015-08-11 19:12:32 +02:00
Fabian Affolter 2289d3e826 upadte header 2015-08-11 19:12:32 +02:00
Fabian Affolter c900836410 update header and docstring 2015-08-11 19:12:32 +02:00
Fabian Affolter bd373a4d25 update header 2015-08-11 19:12:32 +02:00
Michael Auchter 55c778ca0a add missing docstring 2015-08-10 00:30:47 +00:00
Michael Auchter f49e5514d6 limitlessled: add color support
Add support for setting the color of a LimitlessLED light.
Currently this implementation is limited to the subset of 16 colors
exposed by the ledcontroller package that is used to interact with the
light itself. Technically the lights themselves support 255 colors.
2015-08-10 00:21:38 +00:00
Paulus Schoutsen ae06267072 Merge pull request #253 from auchter/led-brightness
limitlessled: scale brightness to meet ledcontroller expectations
2015-08-09 12:40:57 -07:00
Michael Auchter 4bbe716710 limitlessled: scale brightness to meet ledcontroller expectations
LedController's set_brightness() method expects either an int between 0 and
100, or a float between 0.0 and 1.0, but the brightness here is an int between
0-255. Scale the brightness appropriately.
2015-08-09 14:05:20 -05:00
Paulus Schoutsen 60ade75031 Add missing dependencies 2015-08-08 21:22:34 -07:00
Paulus Schoutsen b2cfce7243 Merge branch 'dev' into cleanup
Conflicts:
	.coveragerc
2015-08-05 06:51:39 -07:00
Paulus Schoutsen 14023a15e6 Minor code cleanup 2015-08-04 18:13:55 +02:00
Paulus Schoutsen 4096a67251 Built-in component cleanup 2015-08-03 17:42:28 +02:00
Paulus Schoutsen 40b2acb472 Port wink from external to requirements.txt 2015-07-20 00:41:57 -07:00
Paulus Schoutsen 3efb1e4ac9 Port netdisco from external to requirements.txt 2015-07-20 00:07:01 -07: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 aeae7c2c02 Reorganize util methods 2015-07-07 00:01:17 -07:00
Paulus Schoutsen d3320963c3 Refactor basic light structure 2015-06-13 16:42:09 -07:00
Paulus Schoutsen 4f5ad3c7b6 Merge pull request #136 from balloob/master
Add LimitlessLED to dev branch
2015-05-20 14:28:35 -07:00
Alfie "Azelphur" Day 7087c20c4f
And fix the part where I'm being stupid 2015-05-19 02:33:37 +01:00
Alfie "Azelphur" Day cb54fb5a64
More pylint fixes 2015-05-19 02:31:30 +01:00
Alfie "Azelphur" Day e2b08a1758
Fix some code styling violations 2015-05-19 02:09:34 +01:00
Alfie "Azelphur" Day 9c7f1d94c0
Add configuration.yaml example in the header 2015-05-19 01:55:37 +01:00
Alfie "Azelphur" Day a86852fe90
Add basic support for LimitlessLED 2015-05-19 00:27:09 +01:00
jamespcole 1c47ade641 Updated with new switch category for UI7 firmware update and fixed excpetion when trippable sensor has never been tripped 2015-05-18 18:54:25 +10:00
Fabian Affolter ec0dd39220 update header 2015-05-10 23:45:47 +02:00
Ryan Kraus 6b2dd69bcb Updated isy994 component to hide any device with the HIDDEN STRING in its ancestry. 2015-04-17 09:27:14 -04:00
Ryan Kraus 83aea10f06 Added hidden_string and sensor_string properties to the isy994 configuration to allow nodes to be hidden and to be handled as sensors. Implimented the sensor_string. Any node name that contains the sensor_string in its name will be treated as a sensor instead of a switch or light. The hidden_string will be implimented later. 2015-04-13 12:56:37 -04:00
Ryan Kraus f6d75f2db2 Cleaned up ISY994 light and sensor code to use the same abstract class. 2015-04-12 16:45:23 -04:00
Ryan Kraus 57f27cc97a Addded light controls to isy994 component. 2015-04-04 06:13:27 -04:00
Paulus Schoutsen bbfd97e2b8 Migrate components to use EntityComponent 2015-03-21 19:37:18 -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 71803658f5 Updates to demo component and platforms 2015-03-16 22:20:35 -07:00
Paulus Schoutsen cdeceb140d Fixes for new release PyLint 2015-03-14 12:38:30 -07:00
jamespcole 56622596e7 Changed exception logging, and updated excluded device logic 2015-03-09 09:11:59 +11:00
jamespcole 7ee37648d8 Updated exception type for errors when connecting to vera 2015-03-09 08:45:20 +11:00
jamespcole 95852db18d Changed the configuration to use hashes instead of searching array 2015-03-09 08:34:06 +11:00
jamespcole 38fbc3595a Added spcific exception type for failure to communicate with Vera controller 2015-03-09 07:46:26 +11:00
jamespcole 6dc18ba603 removed the VeraLight class and just switched it to using VeraSwitch instead 2015-03-09 07:24:34 +11:00
jamespcole 7772d5af62 moved setting name to constructor 2015-03-09 07:15:41 +11:00
jamespcole a2f438c6ef now using ATTR_BATTERY_LEVEL 2015-03-09 07:11:35 +11:00
jamespcole 1b29d61562 Made exception handling more specific 2015-03-09 07:03:56 +11:00
jamespcole 7a21e8a3fb Fixed flake8 comment warning 2015-03-09 02:08:46 +11:00
jamespcole 50ff26ea20 Fixed flake8 errors 2015-03-09 01:58:11 +11:00
jamespcole 42dc973ccc Fixed up linting errors 2015-03-09 01:14:44 +11:00
jamespcole dc8147c46d Changed vera components over to new config file format 2015-03-08 23:52:50 +11:00
jamespcole a30d1dcfef Merge branch 'dev' of https://github.com/balloob/home-assistant into dev
Getting the latest from balloob
2015-03-08 22:08:03 +11:00
jamespcole ba58c080e3 removed old config example to fix merge conflict 2015-03-07 12:36:08 +11:00
Paulus Schoutsen 3e15742875 Move device ABCs to separate helper file 2015-03-05 23:18:22 -08:00
Paulus Schoutsen 68668fc658 Light/Switch/Thermostat: use new extract_from_service helper 2015-03-05 23:17:05 -08:00
Paulus Schoutsen 72b930af8f Fix: Hue reports state correctly if 2 services called quickly 2015-03-05 22:53:11 -08:00
jamespcole 8dfc91a502 Added vera components and added __pycache__ to gitignore 2015-03-02 22:05:03 +11:00
jamespcole 3449b3d1d7 vera device types 2015-03-02 21:09:00 +11:00
Paulus Schoutsen 89100d14c8 Refactored device components 2015-03-01 01:35:58 -08:00
Paulus Schoutsen 8bd803601f Devices can now be polling or push 2015-02-28 22:33:44 -08:00
Paulus Schoutsen b38146bdef Auto set friendly name in state attributes 2015-02-28 20:10:39 -08:00
Paulus Schoutsen b2b82d955c Break demo component into small demo platforms 2015-02-28 07:31:39 -08:00
andythigpen c3155651e4 Fix issue with some bulbs missing 'xy' attribute.
Philips Lux bulbs (as well as other dimmable bulbs that work with the
Hue hub) do not have an 'xy' attribute.
2015-02-21 15:02:08 -06:00
Danielhiversen 76d14157ec Fixed Flake8 error 2015-02-05 18:39:03 +01:00
Danielhiversen cb9ad467af Added suport for Tellstick light. Assume dimable switch is a light 2015-02-04 22:54:05 +01:00
Danielhiversen 0ed8158f6e Added suport for Tellstick light. Assume dimable switch is a light 2015-02-04 22:33:04 +01:00
Danielhiversen 22c75f853b Added suport for Tellstick light. Assume dimable switch is a light 2015-02-04 22:29:30 +01:00
Paulus Schoutsen dbefeb3f6b Fix group names for switch, light and devices 2015-01-19 23:47:18 -08:00
Paulus Schoutsen ff230cefe3 Disable pylint unused-argument check 2015-01-19 23:40:51 -08:00
Paulus Schoutsen cdbcc844cf Add tests, fix styling 2015-01-19 21:40:54 -08:00
Paulus Schoutsen 980ecdaacb Add initial version of configurator component 2015-01-19 21:40:54 -08:00
Paulus Schoutsen 702498ca09 Bug fixes for Wink 2015-01-15 21:25:24 -08:00
Paulus Schoutsen 86e4fb9655 Merge branch 'component-wink' into dev
* component-wink:
  Wink component bug fixes
  Bugfixes to make Wink component work
  Added wink component to auto-load other needed components
  Initial version wink component by @loghound
  changed bearer_token to access_token in conf file
  Wink Hub integration of it's switches & lights

Conflicts:
	homeassistant/components/switch/__init__.py
	homeassistant/const.py
2015-01-11 23:22:40 -08:00
Paulus Schoutsen 9db1f3f8b7 Bugfixes to make Wink component work 2015-01-11 14:21:44 -08:00
Paulus Schoutsen 283b187501 Use properties instead of getters for Device class 2015-01-11 09:20:41 -08:00
Paulus Schoutsen 6cd53f2ddf Added wink component to auto-load other needed components 2015-01-10 23:47:23 -08:00
Paulus Schoutsen 249cf244ca Initial version wink component by @loghound 2015-01-10 22:53:41 -08:00
John McLaughlin cd896627ea changed bearer_token to access_token in conf file 2015-01-10 22:35:14 -08:00
John McLaughlin dccd9f562f Wink Hub integration of it's switches & lights 2015-01-10 22:35:01 -08:00
Paulus Schoutsen c2b8f8d34e Prevent devices from being discovered twice 2015-01-10 10:34:56 -08:00
Paulus Schoutsen e0b424c88f Make group component more flexible 2015-01-08 20:02:34 -08:00
Paulus Schoutsen 24be24c58b Extracted a base HA device from ToggleDevice 2015-01-05 23:02:41 -08:00
Paulus Schoutsen 6044742cee Fix: Hue lights will not flash anymore on next turn on call after having flashed 2014-12-08 23:41:52 -08:00
Paulus Schoutsen 99447eaa17 Light component now supports sending flash command 2014-12-08 23:02:38 -08:00
Paulus Schoutsen 68aa78d1fe Fix some style warnings by PyCharm 2014-12-07 01:28:52 -08:00
Paulus Schoutsen 0527760e9b Refactor: code moved to new helper and constants file. Also adds support for multiple types for switch/light components. 2014-12-06 23:57:02 -08:00
Paulus Schoutsen 48089b01ab Renamed AddCooldown to Throttle and added bypass functionality 2014-12-04 21:06:45 -08:00
Paulus Schoutsen 5835d502c7 Moved more methods out of HomeAssistant object 2014-11-30 18:42:52 -08:00
Paulus Schoutsen ce1a5de607 Light test tests light profile loading 2014-11-25 23:16:07 -08:00
Paulus Schoutsen 2220df5a3e Better light.xy_color parsing 2014-11-25 21:38:47 -08:00
Paulus Schoutsen 5f9787aeb2 Added light component test coverage 2014-11-25 21:28:43 -08:00
Paulus Schoutsen 01f738c151 Move to Pypi version of Phue again 2014-11-22 15:49:54 -08:00
Paulus Schoutsen 9f9b926011 All platforms supported by components have their own file - you can can have custom platforms 2014-11-11 21:39:17 -08:00
Paulus Schoutsen 47dea785a8 Refactored light to be more reusable 2014-11-09 15:19:13 -08:00
Paulus Schoutsen 1e136a2416 Logging is more efficient 2014-11-08 13:59:40 -08:00
Paulus Schoutsen d56edd46bb Phue: Switched to GIT-version because pip version lacks behind 2014-11-02 16:22:59 -08:00
Paulus Schoutsen 30ba447c64 More material love for interface 2014-10-29 00:47:55 -07:00
Paulus Schoutsen d570aeef33 Configuration goes now into a single directory 2014-09-20 21:19:39 -05:00
Paulus Schoutsen 997c2e8ef6 Components+configuration now loaded dynamically
A major change to the bootstrapping of Home Assistant decoupling the
knowledge in bootstrap for a more dynamic approach. This refactoring
also prepares the code for different configuration backends and the
loading components from different places.
2014-08-13 14:28:45 +02:00
Paulus Schoutsen 2e10d7223a Re-organized core for better reusability 2014-04-24 00:40:45 -07:00
Paulus Schoutsen ef6d862671 Further Python 3 migration 2014-04-14 23:48:00 -07:00
Paulus Schoutsen 7e06d535ab Ported codebase to Python 3. Long Live Python 3! 2014-04-14 00:10:31 -07:00
Paulus Schoutsen 90769fc0eb Lights now support profiles 2014-03-26 00:20:02 -07:00