For any experienced SmartThings coders, I am new to this so excuse this if it is simplistic.
I have some modes and Hello, home phrases that contain punctuation. For example “Asleep, Sleep In” or “Good Bye, going out of town”.
When I have an input that allows for multiple entries of modes, then I go to the event and try to determine if the current mode is within the selection. I am using the ‘contains’ and ‘find’ options with the mode string, but this always seems to fail when there is this punctuation in the mode name. This makes sense in some respects; when I look at the ‘settings’ that are put forth, it appears to comma delimit the list. My obvious solution is to remove the punctuation, but if I want to publish this for others that seems like a hack work around…Any idea what I am doing wrong?