itchannel / fordpass-ha

Fordpass integration for Home Assistant
301 stars 53 forks source link

Last refresh rate #73

Closed canon102 closed 3 years ago

canon102 commented 3 years ago

Hey There,

Great Integration, The only issue i'm having right now is that the last refresh rate time stamp is horribly off.

fordpass_lastRefresh - 01-17-2021 12:52:58

my Current time is -01-17-2021 06:57:23

So it looks like my time zone for the refresh is off by 6 hours.

itchannel commented 3 years ago

@canon102 Current refresh date is in UTC time as that's what Ford supplies from the API. I'll add in a check to change the time to your local timezone from the HA config.

canon102 commented 3 years ago

Thanks that would be great.

Another question, Is it possible to do separate lock and unlock commands ? The only thing I see is the lock entity toggle.

From: notifications@github.com Sent: January 17, 2021 5:01 p.m. To: fordpass-ha@noreply.github.com Reply to: reply@reply.github.com Cc: canon102@live.ca; mention@noreply.github.com Subject: Re: [itchannel/fordpass-ha] Last refresh rate (#73)

@canon102https://github.com/canon102 Current refresh date is in UTC time as that's what Ford supplies from the API. I'll add in a check to change the time to your local timezone from the HA config.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/itchannel/fordpass-ha/issues/73#issuecomment-761896192, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASJFRJWAOMZ4FJVLBOW44E3S2NT3XANCNFSM4WGDSI5A.

itchannel commented 3 years ago

The lock entity allows you to do lock/unlock, you can also lock/unlock separately using it depending on how you are displaying the entity

canon102 commented 3 years ago

How do I do lock / unlock separately on a button card ?

From: notifications@github.com Sent: January 20, 2021 4:29 p.m. To: fordpass-ha@noreply.github.com Reply to: reply@reply.github.com Cc: canon102@live.ca; mention@noreply.github.com Subject: Re: [itchannel/fordpass-ha] Last refresh rate (#73)

The lock entity allows you to do lock/unlock, you can also lock/unlock separately using it depending on how you are displaying the entity

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/itchannel/fordpass-ha/issues/73#issuecomment-763994013, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASJFRJUJ6KEPIMR5M7G6NQLS25KNFANCNFSM4WGDSI5A.

itchannel commented 3 years ago

Local refresh time added in #77