fix ios component config generation ()

Fixes: 
pull/10932/head
Will Boyce 2017-12-03 22:59:22 +00:00 committed by Paulus Schoutsen
parent 879e32f670
commit 6776e942d7
1 changed files with 1 additions and 1 deletions
homeassistant/components

View File

@ -264,7 +264,7 @@ class iOSIdentifyDeviceView(HomeAssistantView):
# return self.json_message(humanize_error(request.json, ex),
# HTTP_BAD_REQUEST)
data[ATTR_LAST_SEEN_AT] = datetime.datetime.now()
data[ATTR_LAST_SEEN_AT] = datetime.datetime.now().isoformat()
name = data.get(ATTR_DEVICE_ID)