2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 16:05:19 +00:00

speechcontrol.template: change factor for light_254; forum #130629

git-svn-id: https://svn.fhem.de/fhem/trunk@26764 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Beta-User 2022-12-02 17:52:52 +00:00
parent c490433b99
commit 8c1203699b

View File

@ -53,7 +53,7 @@ desc:template to set speech speechcontrol attributes for genericDeviceType light
par:NOTDELAYED;Set this to 0 to not apply naming template on first round;{ 1 }
option:{my @devices=devspec2array('TYPE=(siri|alexa|gassistant|RHASSPY)');return 1 if $devices[0];return 0}
attr DEVICE genericDeviceType light
attr DEVICE homebridgeMapping Brightness=brightness::brightness,maxValue=100,factor=0.39371,delay=true
attr DEVICE homebridgeMapping Brightness=brightness::brightness,maxValue=100,factor=0.39370078740157425,delay=true
option:{my @devices=devspec2array('TYPE=(siri|alexa|gassistant|RHASSPY)');return 1 if $devices[0] && NOTDELAYED;return 0}
set DEVICE attrTemplate speechcontrol_general_naming_master_template