2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

mqtt2.template: change speechvontrol mapping for zigbee2mqtt_blind_drive

git-svn-id: https://svn.fhem.de/fhem/trunk@23793 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Beta-User 2021-02-21 07:06:12 +00:00
parent e6be9bb6b9
commit 3d2dbc4058

View File

@ -551,9 +551,9 @@ attr DEVICE setList \
close:noArg $\DEVICETOPIC/set {"state":"CLOSE"}\ close:noArg $\DEVICETOPIC/set {"state":"CLOSE"}\
pct:slider,0,1,100 $\DEVICETOPIC/set {"position":"$EVTPART1"} pct:slider,0,1,100 $\DEVICETOPIC/set {"position":"$EVTPART1"}
attr DEVICE stateFormat pct attr DEVICE stateFormat pct
set DEVICE attrTemplate speechcontrol_gdt_and_mapping GENERICDEVTYPE=blind HOMEBRIDGEMAPPING="CurrentPosition=pct,minValue=0,maxValue=100,minStep=100;TargetPosition=pct,minValue=0,maxValue=100,minStep=100,cmds=0:close;;/.*/:open" set DEVICE attrTemplate speechcontrol_type_blind
attr DEVICE model zigbee2mqtt_blind_drive attr DEVICE model zigbee2mqtt_blind_drive
setreading DEVICE attrTemplateVersion 20210220 setreading DEVICE attrTemplateVersion 20210221
name:zigbee2mqtt_ContactSensor name:zigbee2mqtt_ContactSensor