mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
general_use.template: add IODev handling
git-svn-id: https://svn.fhem.de/fhem/trunk@25065 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3b09bf9f8c
commit
57554f6b5e
@ -139,8 +139,6 @@ par:SUBCHANNELS;SUBCHANNELS: Regex for devices to copy value to, defaults to DEV
|
||||
par:IODEVATTR;IODEVATTR: attribute value if set, will be copied to other channel devices, defaults to 0;{ AttrVal('DEVICE','IODev',0) }
|
||||
par:IODEVREADING;IODEVREADING: reading value if set and no attribute is set, will be copied to other channel devices , defaults to 0;{ AttrVal('DEVICE','IODev',0) ? 0 : ReadingsVal('DEVICE','IODev',0)}
|
||||
|
||||
setreading SUBCHANNELS IODevattr IODEVATTR
|
||||
setreading SUBCHANNELS IODevreading IODEVREADING
|
||||
option:{ return 0 if "IODEVATTR" eq "0"; return 1 }
|
||||
attr SUBCHANNELS IODev IODEVATTR
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user