I hope this isn’t a daft question - imp newbie here. I’m trying to work with agents, testing samples in wiki. I’m typing both agent and imp code into same code page in planer. I get a complier error message at device.on() line:-
ERROR: the index ‘device’ does not exist
I assume agent code should go elsewhere but can’t see where. Help appreciated.