How to obtain HA timezone in Lovelace?

You can make a template sensor with the current timezone, current dst, or offset.

template:
- sensor:
  - name: Time Zone
    unique_id: time_zone
    state: "{{ now().tzinfo }}"
    attributes:
      dst: "{{ now().dst }}"
      offset: "{{ now().isoformat()[-6:] }}"
1 Like