PW43575
(Andre St-Laurent)
April 21, 2023, 5:35pm
1
Hello
travelling is a challenge with HA…
i am trying to display the time of “where i am”
i was able to get the “Current Time Zone” of my phone = “Pacific Daylight Time”
i was able to get the attribute of “Current Time Zone” =America/Vancouver
sensor:
- platform: attributes
friendly_name: “WhereIAm”
attribute: time_zone_id
entities:
- sensor.sm_t220_tab_current_time_zone
Now i would like to have get the time base on the “time_zone_id”
Any help would be apreciated
PW43575
(Andre St-Laurent)
June 24, 2024, 8:13pm
3
no i did found a way to have that
I got it done using ¨dynamic world clock ¨ card and using my android phone with HA app.
Created a sensor like below and used entity card to display time. whenever i travel and change time in my phone it shows phone´s clock in my home dashboard.
- platform: "dynamic-worldclock"
name: "Travel Clock"
time_zone: "{{ state_attr('sensor.myphone_current_time_zone', 'time_zone_id') }}"
1 Like
SmartyVan
(Smarty Van)
May 17, 2025, 12:57am
5
Check out GeoLocator. I made it to fix this very problem!
1 Like