Skip to content

Commit

Permalink
Whenever we update location lets identify too so battery gets updated
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiet480 committed Apr 17, 2017
1 parent 7d051f3 commit eeea822
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HomeAssistant/HAAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eeea822

Please sign in to comment.