From 4cf06c078b3804909969e42b40ee515b28685693 Mon Sep 17 00:00:00 2001
From: Beta-User <>
Date: Wed, 10 Apr 2019 05:27:13 +0000
Subject: [PATCH] mqtt2.template: ebusd correction; mysensors.template: add
relay
git-svn-id: https://svn.fhem.de/fhem/trunk@19152 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/lib/AttrTemplate/mqtt2.template | 4 +++-
fhem/FHEM/lib/AttrTemplate/mysensors.template | 10 +++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/fhem/FHEM/lib/AttrTemplate/mqtt2.template b/fhem/FHEM/lib/AttrTemplate/mqtt2.template
index 57ee1aab2..5e6033820 100644
--- a/fhem/FHEM/lib/AttrTemplate/mqtt2.template
+++ b/fhem/FHEM/lib/AttrTemplate/mqtt2.template
@@ -970,7 +970,9 @@ attr DEVICE stateFormat Status: \
Signal: \
2:signal\
Uptime: formatedUptime
-attr DEVICE setList getKnown DEV_ID/global/list onlyknown
+attr DEVICE setList getKnown:noArg DEV_ID/list onlyknown\
+ getAll:noArg DEV_ID/list
+set DEVICE getKnown
attr DEVICE model E_01a_eBus_daemon_splitter
diff --git a/fhem/FHEM/lib/AttrTemplate/mysensors.template b/fhem/FHEM/lib/AttrTemplate/mysensors.template
index 366aacab4..714770283 100644
--- a/fhem/FHEM/lib/AttrTemplate/mysensors.template
+++ b/fhem/FHEM/lib/AttrTemplate/mysensors.template
@@ -63,7 +63,15 @@ attr DEVICE model A_17a_Motion
#A_21a_Pulse Power Meter
#A_22a_Pulse Water Meter
#A_23a_Rain Gauge
-#A_24a_Relay Actuator
+
+name:A_24a_Relay_Actuator
+filter:TYPE=MYSENSORS_DEVICE
+desc:Applies to standard relay actuator sketch
NOTE: Noty yet heavily tested first template version
+attr DEVICE setCommands on:status1:on off:status1:off
+attr DEVICE devStateIcon .*on:on .*off:off on.for.timer:on-for-timer off.for.timer:off-for-timer
+attr DEVICE model A_24a_Relay_Actuator
+
+
#A_25a_RFID
#A_26a_Scene Controller
#A_27a_Secret Knock