Commit graph

5 commits

Author SHA1 Message Date
Matt White
148a7ddda9 Add include/exclude filter to mqtt_statestream ()
* Add publish filter to mqtt_statestream

* Add tests for include/excludes in mqtt_statestream
2017-11-08 15:54:12 +01:00
Lukas Barth
248d974ded Cast attribute values to string before publishing to MQTT ()
* Cast attribute values to string before publishing to MQTT

* Simplify

* Use JSON serialization, add test
2017-10-27 08:55:04 -07:00
Matt White
755a2a8291 mqtt_statestream: Add options to publish attributes/timestamps () 2017-10-02 17:41:07 +02:00
Matt White
04bed51277 mqtt_statestream: Update to append 'state' to topic for future use with mqtt discovery () 2017-09-15 23:05:58 -07:00
Matt White
31f189da82 Added mqtt_statestream component ()
* Added mqtt_statestream component

* Added tests for mqtt_statestream component

* mqtt_statestream: add test for valid new_state

* mqtt_statestream: Don't set initialized state

* mqtt_statestream: Switch to using async_track_state_change

* Cleanup
2017-09-11 22:08:12 +02:00