Paulus Schoutsen
33a51623f8
Make Service.call_from_config async
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
4198c42736
Have template platforms never leave the event loop
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
3e24a35c1e
Skip RFXtrx tests unless RFXTRX=RUN ( #3625 )
...
* Skip RFXtrx tests unless RFXTRX=RUN
* Remove my previous hacks to slightly speed up rfxtrx
* Exclude RFXTRX tests from coverage
* Remove unused import in rfxtrx tstt
* Add close connection back to RFXtrx tests
* Typo
2016-10-01 13:57:10 -07:00
Ben Bangert
892bbdc2dd
Monkey-patch a weakref set in Task to be a no-op. ( #3639 )
...
* Monkey-patch a weakref set in Task to be a no-op.
* Fix linting issues
2016-10-01 12:08:25 -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
15ed8c6332
Add units ( fixes #3619 ) ( #3633 )
2016-10-01 17:35:32 +02:00
Paulus Schoutsen
412b5350ce
Service config calls will no longer mutate original config ( #3628 )
2016-09-30 23:26:15 -07:00
Otto Winter
d5f8aa52c4
Add support for MySensors cover ( #3512 )
...
* Added support for MySensors cover device
* Fixed set_req not defined
* Fixed V_PERCENTAGE is str
* Removed set_cover_position
The MySensors documentation doesn’t specify when sending a V_PERCENTAGE
is allowed.
* Fixed homeassistant/components/mysensors.py line too long
* Fixed lint ATTR_POSITION imported but unused
* Use V_PERCENTAGE for MySensors cover
* Revert "Removed set_cover_position"
This reverts commit d78cb3a04d61f84385d1b46ae3396192c10073f6.
* Fix set_req, ATTR_POSITION not defined
* Added support for non-exactly positionable covers
* Fixed V_PERCENTAGE cast to bool
* Ported MySensors cover back to v1.4
`V_PERCENTAGE` and `V_DIMMER` are aliases just like `V_STATUS` and
`V_LIGHT`, so the code inside `MySensorsCover` doesn’t need to be
updated.
* Fixed v1.5 V_TYPES not in in v1.4 gateway SetReq
2016-10-01 01:36:04 +02:00
Paulus Schoutsen
b650b2b0db
Spread async love ( #3575 )
...
* Convert Entity.update_ha_state to be async
* Make Service.call async
* Update entity.py
* Add Entity.async_update
* Make automation zone trigger async
* Fix linting
* Reduce flakiness in hass.block_till_done
* Make automation.numeric_state async
* Make mqtt.subscribe async
* Make automation.mqtt async
* Make automation.time async
* Make automation.sun async
* Add async_track_point_in_utc_time
* Make helpers.track_sunrise/set async
* Add async_track_state_change
* Make automation.state async
* Clean up helpers/entity.py tests
* Lint
* Lint
* Core.is_state and Core.is_state_attr are async friendly
* Lint
* Lint
2016-09-30 12:57:24 -07: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
Paulus Schoutsen
234f4449b0
Lint
2016-09-30 00:14:08 -07:00
Jeff Wilson
a89d036e26
Nest operation modes ( #3609 )
...
* Add ability to change Nest mode to all available options
* Make Nest state reflect current operation not current operation mode
* Update Nest sensor to use operation mode
* Fix linting
* Revert "Make Nest state reflect current operation not current operation mode"
This reverts commit 573ba028d8ed11a2f228ca4b21cd7d88b7d0a919.
Conflicts:
homeassistant/components/climate/nest.py
2016-09-29 23:44:14 -07:00
Marcelo Moreira de Mello
9ea030f42e
Fixed issue #3574 - Temperature slider fixed on frontend on heat/cool mode ( #3606 )
...
* Fixed issue #3574 - Temperature slider fixed on frontend on heat/cool mode
* Fixed target_temperature to return None when self.is_away_mode_on is True
2016-09-29 22:17:13 -07:00
Paulus Schoutsen
7ac8425099
Fix tests
2016-09-29 21:42:36 -07:00
Fabian Affolter
c000e74d0a
Migrate to voluptuous ( #3374 )
2016-09-29 19:07:35 -07:00
Fabian Affolter
6632747543
Migrate to voluptuous ( #3341 )
2016-09-29 19:06:28 -07:00
Fabian Affolter
a7266ae6cf
Check that no configuration is provided ( #3553 )
2016-09-29 19:02:22 -07:00
Dan Cinnamon
68028afb98
Passing original config reference to load_platform. ( #3602 )
2016-09-29 18:55:43 -07:00
Paulus Schoutsen
733120c577
Fix voluptuous alexa config ( #3596 )
2016-09-29 18:45:55 -07:00
Pascal Vizeli
01435f7f42
Bugfix voluptuous acer_projector ( #3598 )
2016-09-29 18:36:20 -07:00
Pascal Vizeli
08bacd8e31
Bugfix voluptuous for hue ( #3589 )
2016-09-29 09:06:41 -07:00
Hugo Dupras
dd551cf056
Netatmo: Hotfix for hass 0.29 ( #3576 )
...
Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com >
2016-09-29 07:45:54 -07:00
Fabian Affolter
7d86fb8c72
Remove duplicate port entry ( fixes #3583 ) ( #3584 )
2016-09-29 07:45:25 -07:00
Greg Dowling
e87467cb20
Merge pull request #3577 from home-assistant/fix_loopenergy_exceptions
...
Loopenergy library - bump to catch more exceptions in poll thread.
2016-09-29 10:49:14 +01:00
pavoni
abd1213cc4
Bump library to catch more exceptions in poll thread.
2016-09-29 09:55:05 +01:00
Marcelo Moreira de Mello
48ffdea31f
Fixed typo ( #3569 )
...
Sep 29 00:59:22 pi hass[21333]: if self.device.measurment_scale == 'F':
Sep 29 00:59:22 pi hass[21333]: AttributeError: 'Device' object has no attribute 'measurment_scale'
2016-09-28 22:07:23 -07:00
Paulus Schoutsen
6e80581b30
Version bump to 0.30.0.dev0
2016-09-28 21:21:03 -07:00
Paulus Schoutsen
9780ea5c52
Version bump to 0.29
2016-09-28 21:20:47 -07:00
Fabian Affolter
f3caca6a06
Upgrade python-telegram-bot to 5.1.0 ( #3525 )
2016-09-28 00:08:24 -07:00
Fabian Affolter
d6c586bf42
Upgrade fuzzywuzzy to 0.12.0 ( #3524 )
2016-09-28 00:07:52 -07:00
Fabian Affolter
3b5142eb85
Upgrade dnspython3 to 1.14.0 ( #3522 )
2016-09-28 00:07:39 -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
Fabian Affolter
a084232cf5
Add link to error message ( #3530 )
2016-09-27 23:59:34 -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
happyleaves
559f63bfc3
bump limitlessled version
2016-09-27 16:30:26 -04:00
John Arild Berentsen
6694b0470e
Update Climate slider code ( #3394 )
...
* Update ecobee to use only range setpoints
* Update nest to only use range setpoints
* Update demo to use only range for ecobee test device
* Update test
* Fetch unit from ecobee
* generic_thermostat did not have state
* generic_thermostat test update
2016-09-27 19:34:16 +02:00
Daniel Høyer Iversen
da6c09640c
Merge pull request #3542 from home-assistant/rfxtrx_lib
...
update rfxtrx lib
2016-09-27 12:35:02 +02:00
Daniel
2505792ef3
update rfxtrx lib
2016-09-27 10:42:03 +02:00
Per Sandström
4c45e92116
modbus update, add error log instead of AttributeError exception ( #3517 )
2016-09-26 20:46:34 -07:00
Fabian Affolter
041c92699a
Change line separator to lf instead of crlf ( #3533 )
...
* Change line separator to lf instead of crlf
* Update permissions
* Use LN instead of CRLF
* Remove BOM and use LN instead of CRLF
2016-09-26 20:26:32 -07:00
Dan Cinnamon
d761b000a5
Added a dispatch call to the envisalink sensor to also get partition status updates.
2016-09-26 20:13:41 -07:00
Pascal Vizeli
cae10cfe26
Use setup_component in tests v2 ( #3537 )
...
* setup_component - sun
* setup_component - updater
* setup_component - weblink
2016-09-26 23:20:36 +02:00
Martin Hjelmare
ea4f49f0a0
Fix mqtt cover retain and state ( #3519 )
...
* Platform schema had duplicate retain keys, which made it always set
to default.
* Optimistic state changed was inverted, due to using integer position
instead of boolean.
* Add more tests for mqtt cover.
2016-09-26 00:53:38 +02:00
Pascal Vizeli
bbfd86dec3
Use setup_component in tests v1 ( #3507 )
...
* update unittests like #3414
* setup_component - splunk
* setup_component - statsd
* fix statsd & splunk unittest config values
* component_setup - device_sun_light_trigger
* setup_component - introduction
* component_setup - persistent_notification
* setup_component - logentries, mqtt eventstream
* fix unittest logentries
2016-09-25 23:15:21 +02: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
Robbie Trencheny
b3d67a7ed9
Change notify target property to be a dictionary ( #3501 )
...
* Change notify target property to be a dictionary
* Make demo target properties unique and fix test to match behavior
2016-09-25 09:41:11 -07:00
Martin Hjelmare
986873834a
Fix mysensors white value ( #3508 )
...
* Fix turning on mysensors light with white value attribute in kwargs.
* Fix import order in check_config.py.
2016-09-24 23:45:01 +02:00
Paulus Schoutsen
36921748ed
Merge branch 'master' into dev
...
Conflicts:
homeassistant/components/climate/ecobee.py
homeassistant/components/cover/wink.py
homeassistant/const.py
2016-09-24 01:03:56 -07:00
Paulus Schoutsen
b628fb088b
Merge pull request #3503 from home-assistant/fix-platform-component-no-config
...
Allow platform components without config
2016-09-24 00:15:58 -07:00