From 49f433f89a6d04f79c4bc2528913fa0a0a3f1dae Mon Sep 17 00:00:00 2001 From: Beta-User Date: Thu, 20 Dec 2018 08:01:10 +0000 Subject: [PATCH] mqtt2.template: add basic sensor template and restart options templates to tasmota and working version for rgb- milight-bulb git-svn-id: https://svn.fhem.de/fhem/trunk@18011 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/lib/AttrTemplate/mqtt2.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/lib/AttrTemplate/mqtt2.template b/fhem/FHEM/lib/AttrTemplate/mqtt2.template index 8781f27ab..b1208632e 100644 --- a/fhem/FHEM/lib/AttrTemplate/mqtt2.template +++ b/fhem/FHEM/lib/AttrTemplate/mqtt2.template @@ -422,7 +422,7 @@ attr DEVICE model A_15_shellybulb name:X_01_esp_milight_hub_bridge filter:TYPE=MQTT2_DEVICE desc:use this with Chris Mullins ESP-Milight-Hub. for further details visit https://github.com/sidoh/esp8266_milight_hub
#recommended structure of the topic pattern milight/:device_id/:device_type/:group_id as set in the settings section in the bridge's web interface. -par:BASE_ID;BASE_ID typically is milight;{ AttrVal("DEVICE","readingList","") =~ m,([^/]+)[/]updates/.*:, ? $1 : undef } +par:BASE_ID;BASE_ID typically is milight;{ AttrVal("DEVICE","readingList","") =~ m,([^/]+)[/].*ates/.*:, ? $1 : undef } attr DEVICE bridgeRegexp BASE_ID/states/(0x....)/.*/([0-4])?.*:.* "milight_$1_$2" attr DEVICE autocreate 1 attr DEVICE model X_01_esp_milight_hub_bridge