From eeea822cf528379eb270dc14a5c9764dfe3c9f37 Mon Sep 17 00:00:00 2001 From: Robbie Trencheny Date: Sun, 16 Apr 2017 18:43:06 -0700 Subject: [PATCH] Whenever we update location lets identify too so battery gets updated --- HomeAssistant/HAAPI.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HomeAssistant/HAAPI.swift b/HomeAssistant/HAAPI.swift index b5cbea869..dbb887499 100644 --- a/HomeAssistant/HAAPI.swift +++ b/HomeAssistant/HAAPI.swift @@ -217,6 +217,8 @@ public class HomeAssistantAPI { "dev_id": deviceID ] + _ = self.identifyDevice() + self.CallService(domain: "device_tracker", service: "see", serviceData: locationUpdate as [String : Any]).then {_ in