Property Substitution Issue

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
incoronado
Senior Member
Posts: 153
Joined: Fri Mar 19, 2004 12:30 am
Location: San Diego, CA

Property Substitution Issue

Post by incoronado »

I'm having an issue using property substitution when there is a hyphen in the property name. (i.e., %%UPB-0B.Dim Level%%) Is there any way to get around this without renaming the property -- that would be painful.
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Property Substitution Issue

Post by ScottBot »

I'm not able to replicate that. I have the following task and it seems to work.
Attachments
HouseBot_2016-10-02_15-56-33.png
HouseBot_2016-10-02_15-56-33.png (1.98 KiB) Viewed 2787 times
Scott
incoronado
Senior Member
Posts: 153
Joined: Fri Mar 19, 2004 12:30 am
Location: San Diego, CA

Re: Property Substitution Issue

Post by incoronado »

Maybe because I'm using it inside a string. It works fine in other places using the same methodology.

Unable to find Device with Description [UPB-* ERROR *]
Capture 2.PNG
Capture 2.PNG (2.48 KiB) Viewed 2783 times
incoronado
Senior Member
Posts: 153
Joined: Fri Mar 19, 2004 12:30 am
Location: San Diego, CA

Re: Property Substitution Issue

Post by incoronado »

Found it. It is actually an error in my script and not HB.
Post Reply