gcobb321 / icloud3

iCloud3 v3 - iCloud3 is an advanced iDevice tracker that uses Apple iCloud account and HA Companion App data for presence detection and location based automations.
MIT License
546 stars 54 forks source link

Arrival time with date? #376

Closed Airblader closed 2 weeks ago

Airblader commented 2 weeks ago

Currently the arrival_time is a local time only. Is there a way to get it with a date? Currently I kind of augment it with the date of when I entered the zone.

Airblader commented 2 weeks ago

Ah, I suppose I can use the sensor's sensor_updated attribute?

gcobb321 commented 2 weeks ago

That would be the only way to do it. The date is not part of the State Value.

Airblader commented 2 weeks ago

Any downside to using that, or will that contain the correct value?

gcobb321 commented 2 weeks ago

None at all. It is just the full data/time of the State value that is just the time part.

Airblader commented 2 weeks ago

Perfect, thank you. Closing this then.