Paulus Schoutsen
5085cdb0f7
Add async_safe annotation ( #3688 )
...
* Add async_safe annotation
* More async_run_job
* coroutine -> async_save
* Lint
* Rename async_safe -> callback
* Add tests to core for different job types
* Add one more test with different type of callbacks
* Fix typing signature for callback methods
* Fix callback service executed method
* Fix method signatures for callback
2016-10-04 20:44:32 -07:00
William Scanlon
8592ba3cb9
Report availability of arest ( #3614 )
2016-10-04 00:51:45 -07:00
Paulus Schoutsen
d58548dd1c
Address asyncio comments ( #3663 )
...
* Template platforms: create_task instead of yield from
* Automation: less yielding, more create_tasking
* Helpers.script: less yielding, more create_tasking
* Deflake logbook test
* Deflake automation reload config test
* MQTT: Use async_add_job and threaded_listener_factory
* Deflake other logbook test
* lint
* Add test for automation trigger service
* MQTT client can be called from within async
2016-10-03 22:39:27 -07:00
hexa-
73d93e526e
Add anel_pwrctrl platform to control switches on ANEL PwrCtrl devices ( #3644 )
...
* Add pwrctrl platform to control switches on ANEL PwrCtrl devices
* make requested changes
2016-10-02 16:51:15 -07:00
Martin Hjelmare
b6b0bad0c7
Add new mysensors types ( #3637 )
...
* Add S_INFO, S_GAS, S_GPS, S_WATER_QUALITY.
* Extend S_CUSTOM, S_POWER.
* Add more units.
2016-10-01 23:23:31 -07:00
Jeff Wilson
d55ed7a3a2
Flux switch improvements ( #3615 )
...
* Make flux always adjust brightness of light (even when not in XY mode)
* Remove kelvin mode from flux switch
The light/turn_on service only works with mired values, kelvin values
are out of range per the schema.
* Use already defined min/max values for light/turn_on schema
* Clamp temp value to light/turn_on allowed values
2016-10-01 22:57:15 -07:00
Paulus Schoutsen
4198c42736
Have template platforms never leave the event loop
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
bb03960ba5
Voluptuous arest ( #3558 )
...
* Migrate to voluptuous
* Adjust sensor.arest for new template system
* Use items() to align the var section with the pins
2016-10-01 18:45:43 +02:00
Fabian Affolter
7e50ccd32a
Component for Digital Ocean ( #3322 )
...
* Add Digital Ocean implementation
* Remove kernel
2016-09-30 18:30:44 +02:00
John Arild Berentsen
521080d1b0
Zwave: Update commandclasses and deviceclasses according to sigma SDK ( #3495 )
...
* Update Command classes and device types to Sigma SDK
* Fix some pylint
* Seperate constants to file
* Flake8
* coverage and flake8 pylint
* Add services.yaml
* Service descriptions was missing
* Spelling :)
* grammar
* Remove zwave service descriptions from main
2016-09-30 08:43:18 -07:00
Pascal Vizeli
01435f7f42
Bugfix voluptuous acer_projector ( #3598 )
2016-09-29 18:36:20 -07:00
Paulus Schoutsen
4b8bc90d16
Limit worker pool to 10 threads ( #3560 )
...
* Limit worker pool to 10 threads
* Comment evdev in requirements
* Allow skipping RFXtrx tests locally
* Fix worker pool size tests
* lol whut
2016-09-28 00:05:38 -07:00
Paulus Schoutsen
00e298206e
Optimize template 2 ( #3521 )
...
* Enforce compiling templates
* Refactor templates
* Add template validator to Logbook service
* Some more fixes
* Lint
* Allow easy skipping of rfxtrx tests
* Fix template bug in AND & OR conditions
* add entities extractor
Conflicts:
tests/helpers/test_template.py
* fix unittest
* Convert template to be async
* Fix Farcy
* Lint fix
* Limit template updates to related entities
* Make template automation async
2016-09-27 21:29:55 -07:00
Per Sandström
4c45e92116
modbus update, add error log instead of AttributeError exception ( #3517 )
2016-09-26 20:46:34 -07:00
Paulus Schoutsen
0c0feda834
Pre-compile templates ( #3515 )
...
* Pre-compile templates
* Compile templates in numeric_state condition
2016-09-25 13:33:01 -07:00
Christian Brædstrup
81ebdadcec
D-link switch library bump and error handling for W110 devices ( #3386 ) ( #3425 )
2016-09-20 00:10:15 -07:00
William Scanlon
43c395232a
Sensor updates ( #3410 )
2016-09-20 00:05:54 -07:00
Fabian Affolter
04d31e4ef4
Use voluptuous for RPi GPIO ( #3371 )
...
* Migrate to voluptuous
* Remove the check for lists
2016-09-17 23:28:37 -07:00
Paulus Schoutsen
4076ccf639
Use setup_component in tests ( #3414 )
...
* Alarm Control Panel Manual - use setup_component
* Update automation - zone tests
* Update climate - demo tests
* Update climate - generic thermostat tests
* Update cover - command line tests
* Update cover - demo tests
* Update device tracker tests
* Update device tracker - owntracks tests
* Update fan - demo tests
* Update garage door - demo tests
* Update light tests
* Update lock - demo tests
* Update media player - demo tests
* Update notify - command line tests
* Update notify - demo tests
* Update notify - file tests
* Update notify - group tests
* Update sensor - mfi tests
* Update sensor - moldindicator tests
* Update sensor - mqtt room tests
* Update switch - command line
* Update switch - flux
* Update switch tests
* Update scene tests
* Fix wrong default port for mfi switch
2016-09-17 10:29:58 -07:00
Fabian Affolter
727b756054
Use voluptuous for KNX ( #3345 )
...
* Migrate to voluptuous
* Make host optional and set default
2016-09-13 23:03:30 -07:00
Per Sandström
ca646c08c2
Modbus component refactoring - sensors and switches ( #3297 )
2016-09-13 22:47:44 +02:00
Fabian Affolter
8ba952ee0e
Use voluptuous for SCSGate ( #3265 )
...
* Migrate to voluptuous
* Extend platforms
2016-09-13 07:23:53 +02:00
Teagan Glenn
05a3b610ff
Add ISY programs and support for all device types ( #3082 )
...
* ISY Lock, Binary Sensor, Cover devices, Sensors and Fan support
* Support for ISY Programs
2016-09-11 20:18:53 +02:00
William Scanlon
58c0990508
Convert rgb to hsb for Wink Osram light
2016-09-11 10:45:04 -04:00
Fabian Affolter
d48ed41122
Use constants ( #3284 )
2016-09-11 09:24:07 +02:00
Fabian Affolter
f341974b8b
Migrate to voluptuous ( #3290 )
2016-09-11 09:22:08 +02:00
Pascal Vizeli
e87da765c5
cleanup Homematic code ( #3291 )
...
* cleanup old code
* cleanup round 2
* remove unwanted platforms
2016-09-09 19:33:12 +02:00
Fabian Affolter
ee6c83f569
Use constants and update ordering ( #3267 )
...
🐬
2016-09-08 18:34:55 -06:00
Fabian Affolter
94e3986d54
Use constants and update ordering ( #3261 )
2016-09-08 16:26:54 +02:00
Paulus Schoutsen
5995f2438e
fix remove listener ( #3196 )
2016-09-07 06:59:59 -07:00
Fabian Affolter
6a837f3aad
Migrate to voluptuous ( #3234 )
2016-09-06 18:28:55 -07:00
Per Sandström
d53d8f5ea9
thread safe modbus ( #3188 )
2016-09-06 18:21:38 -07:00
Fabian Affolter
7aafa309c9
Use voluptuous for Verisure ( #3169 )
...
* Migrate to voluptuous
* Update type and add missing config variable
2016-09-06 18:18:34 -07:00
Fabian Affolter
abff2f2b36
Use voluptuous for PulseAudio Loopback ( #3160 )
...
* Migrate to voluptuous
* Fix conf var
2016-09-06 18:16:03 -07:00
Christian Brædstrup
c1139a9fda
dlink switch added device state attributes and support for legacy firmware ( #3211 )
2016-09-06 11:52:22 -06:00
Fabian Affolter
59cd92cb4d
Use voluptuous for Edimax ( #3178 )
...
🐬
2016-09-04 19:17:40 -06:00
Fabian Affolter
98bdcd3405
Use voluptuous for Hikvisioncam switch ( #3184 )
...
* Migrate to voluptuous
* Use vol.Optional
2016-09-04 19:16:16 -06:00
Fabian Affolter
3c615e2319
Use voluptuous for mFi switch ( #3168 )
...
* Migrate to voluptuous
* Take change configuration into account
2016-09-03 20:32:35 -06:00
Fabian Affolter
02960ec482
Migrate to voluptuous ( #3166 )
...
🐬
2016-09-03 20:09:02 -06:00
Fabian Affolter
6ae4e5cb6c
Use constants ( #3148 )
2016-09-03 00:09:14 +02:00
Fabian Affolter
fb9627deda
Move details to docs ( #3146 )
2016-09-02 23:25:35 +02:00
Fabian Affolter
40c71b5d96
Use voluptuous for Command line platforms ( #2968 )
...
* Migrate to voluptuous
* Fix pylint issues
* Remove FIXME
* Split setup test
* Test with bootstrap
* Remove lon and lat
* Fix pylint issues
2016-09-02 08:09:09 -06:00
Fabian Affolter
e5ef548f10
Use voluptuous for Acer projector switch ( #3077 )
...
🐬
2016-09-02 07:42:38 -06:00
happyleavesaoc
24d3cbdfe9
orvibo updates ( #3006 )
...
🐬
2016-09-01 22:37:09 -06:00
Martin Hjelmare
6acaf25b0d
Use voluptuous for mysensors ( #2992 )
...
* Add voluptuous config validation for mysensors
* Remove and clean up parts that are not needed for pymysensors 0.7.
2016-08-27 14:41:21 -06:00
Fabian Affolter
b199c61c88
Migrate to voluptuous ( #2955 )
...
🐬
2016-08-24 22:36:41 -06:00
Fabian Affolter
9219d65c3e
Migrate to voluptuous ( #2958 )
2016-08-24 22:35:09 -06:00
Greg Dowling
dfd76fc0e6
Minor tidy of voluptuous. ( #2945 )
2016-08-22 23:57:07 -07:00
William Scanlon
f00cdc50df
Updated python-wink version to fix color/temp detection ( #2935 )
2016-08-22 21:31:17 -07:00
Greg Dowling
eac67fd971
Add voluptuous to template switch ( #2940 )
...
* Add voluptuous to template switch / revise tests.
2016-08-23 00:05:45 +02:00