Paulus Schoutsen
0f59bb208c
Migrate callbacks to use schedule_update_ha_state ( #4426 )
...
* Migrate callbacks to use schedule_update_ha_state
* Migrate MQTT sensor callback to async
* Migrate wemo to not update inside schedule_update_ha_state
* Make MQTT switch async
* Fix nx584 test
* Migrate tellstick callback
* Migrate vera callback
* Alarm control panel - manual: use async callbacks
* Run the switch rest tests that work
2016-11-17 07:34:46 -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
Jan Harkes
c8add59ea5
Fail when rendering undefined objects in Jinja2 templates
...
By not successfully rendering unknown objects to an empty string
the caller provided error_value actually gets used.
This allows, for instance, the MQTT sensor to retain its state when an
unexpected or unwanted message (#2733/#3834) is received.
2016-10-17 03:20:07 +02: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
Fabian Affolter
911231afc1
Use constants and update ordering ( #3266 )
2016-09-09 08:37:30 +02:00
Fabian Affolter
e8c6e4d561
Clean-up, ordering, constants, and extend of schema ( #2903 )
...
* Clean-up, ordering, constants, and extend of schema
* Put REQUIREMENTS back and re-add line breaks
* Clean-up, ordering, constants, and extend of schema
* Extend platform
2016-08-20 15:40:16 -07:00
Jan Harkes
a7016e4b32
Move CONF_STATE_TOPIC, CONF_COMMAND_TOPIC and CONF_RETAIN to mqtt component.
2016-04-06 22:51:39 -04:00
Jan Harkes
eb3f812e38
Config validation for MQTT sensor platform.
2016-04-06 22:51:39 -04:00
Fabian Affolter
8bff97083c
Fix PEPE257 issues
2016-03-08 16:46:34 +01:00
Fabian Affolter
582394bc3b
Modify import of template and PEP257
2016-02-23 21:19:22 +01:00
Fabian Affolter
60d579af84
Update/add docstrings (PEP257)
2016-02-23 06:23:04 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Philip Lundrigan
c580953bd8
Fix MQTT sensor
2016-02-04 12:38:48 -07:00
Paulus Schoutsen
9a9ecb5916
Migrate MQTT from jsonpath to templates
2015-12-10 21:39:01 -08:00
Oliver van Porten
715abf241e
Disable pylint warning for callable classes
2015-11-21 17:57:15 +01:00
Oliver van Porten
030686a978
fix flak8 warnings
2015-11-20 22:55:52 +01:00
Oliver van Porten
799043dc0a
refactor format mqtt format parser
2015-11-20 22:45:09 +01:00
Oliver van Porten
b4cf0e874a
Support parsing mqtt messages via jsonpath
2015-11-20 22:03:17 +01:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Fabian Affolter
a2e8fcbc77
Remove newline
2015-10-21 19:37:34 +02:00
Fabian Affolter
e10fd0d28b
Remove configuration details
2015-10-21 19:36:52 +02:00
sfam
0f68b9d22b
Add optional QoS config parameter to MQTT sensor and switch (pylint)
2015-09-07 00:28:45 +00:00
sfam
c5fc5cba61
Add optional QoS config parameter to MQTT sensor and switch
2015-09-07 00:16:31 +00:00
sfam
01ed3b18cc
update docstring
2015-08-22 14:57:57 +01:00
sfam
8a63325abe
update
2015-08-20 23:09:11 +01:00
sfam
44263752ca
update header
2015-08-20 23:05:51 +01:00
sfam
c5db42677a
Add MQTT Sensor
2015-08-19 01:25:05 +01:00