vzorglub
(Vincent Regaud)
October 14, 2018, 6:33am
3
But I am not sure that the use of a lamba if the best way here
If you have only one lamp that put the function in the rule
If you have several then please see:
Please see Design Pattern: What is a Design Pattern and How Do I Use Them for how to read and use DPs.
Problem Statement
Often one will have a number of separate Items which are all related to each other in some way. For example, one might have a Contact on a door and a DateTime to represent when the last time the door was opened. This is easy enough to keep track of if there are only one or two such Items, but if one has a lot of similar Items or is using a lot of generically coded rules where…