mqtt2.template: change speechvontrol mapping for zigbee2mqtt_blind_drive

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

View File

@ -551,9 +551,9 @@ attr DEVICE setList \
close:noArg $\DEVICETOPIC/set {"state":"CLOSE"}\
pct:slider,0,1,100 $\DEVICETOPIC/set {"position":"$EVTPART1"}
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
setreading DEVICE attrTemplateVersion 20210220
setreading DEVICE attrTemplateVersion 20210221
name:zigbee2mqtt_ContactSensor