class implementation_notification_channel_file_touch(interface_notification_channel): ''' [implementation] ''' def parameters_schema(self): return { "type": "object", "additionalProperties": False, "properties": { "path": { "type": "string" } }, "required": [ "path" ] } ''' [implementation] ''' def normalize_conf_node(self, node): return dict_merge( { }, node ) ''' [implementation] ''' def notify(self, parameters, name, data, state, info): _os.path.touch(parameters["path"])