get ScriptEvents based on the DeviceState given, according to the script definition @param state: DeviceState @return:
(self, state)
source not stored for this graph (policy: none)
no test coverage detected