rossko57
(Rossko57)
2
That just makes it difficult for you to manage and debug. They do not cost you anything.
Okay, that is a string
Strings do not have a .sendCommand()
method.
There is a sendCommand("someItem", "someCommand")
Action, you would need to give that two strings as arguments.
That’s a string as well.
Strings do not have a .state
method.
Not so easy to work around this time, you need the technique to get hold of an Item object from its itemname string
1 Like