Been getting this error for a few weeks now, was working fine prior. Has there been some changes I may not be aware of?
Error:
Appdaemon Code:
now = datetime.datetime.now()
time = "{}_{}_{}{}".format(now.day, now.month, now.hour, now.minute)
folder = "/media/"
filenames = folder+"Alfresco_"+time+".mp4"
self.log("MANUAL RECORDING OF ALFRESCO TRIGGERED")
self.call_service("camera/record", entity_id = "camera.aarlo_alfresco", duration = 10, filename = filenames)
self.turn_off("input_boolean.record_alfresco")
self.run_in(self.send_image_alfresco, 15)
def send_image_alfresco(self, kwargs):
self.call_service(globals.notify_ios_grant, title = "Alfresco Video", message = "Alfresco Video", data = {"attachment": {"content-type": "jpeg"}, "push": {"category": "camera"}, "entity_id": "camera.aarlo_alfresco"})```