Advanced flow lighting and PM 2.5 level

Before using the app Zone Memory for this use case, please have a look at the corresponding threat.
Afaik, the app doesn’t work with Philips Hue Lamps like it should. Some time ago I tried this app with a Philips Hue Lightstrip, but it doesn’t worked. I had contact to the developer and we tried to figure out what the problem is, but with no success. In the meantime, maybe it will work, but I guess not.

So I would suggest to options:

  1. Use logic variables to save the settings of the lamp before it turned into green/red and then restore the settings again.
  2. Use the app Temporary Variables. The procedure is the more or less the same like with logic variables, but there is no need to create “fix” logic variables. Also this app doesn’t need much memory and RAM (ca. 400 kB memory and 6 MB RAM on my HP19 Pro).
    This is my recommended option.

Example

But after a few tests, I wouldn’t use the card for flashing. After the color is set I would turn off the lamp and turn it on again. But that is a matter of personal taste.