OR
Switch item=AlarmArea1DetailedArmMode label="Area 1" mappings=[Disarmed="Disarmed", Ready="Ready", NotReady="Not Ready", Armed="Armed", Force="Force", ExitDelay="Exit Delay", EntryDelay="Entry Delay", Stay="Stay", StayInstant="Stay Instant"]
Hi Thomas/Mark,
Both interesting ideas. I assume the real way to use a mood switch will be to set up rules for them. In that case I assume numbers are better than strings in that case as equality checking will be quicker and also the ability to use less than and greater than in your rules would allow creation of mood2 where it is everything on mood1 plus some extras...
Thanks for the tips, it is early days for my setup so still getting my head round how to connect all the things together.
Neil
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/s9RyVgXTlFM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/d/optout.
--
Hi Mat,
It isn't currently supported that I can see on the openhab master bench. I've changed the code and submitted a pull request once that is merged you can use string but I think I might change it to number as per this thread when I get a chance.
If you are happy compiling yourself you should be able to download from my git repo.
Neil
--
Hi,
The original pull request has been accepted but I've just submitted another one changing it to number.
Regards,
Neil