Hello All!
I’m new to HA and I’ve been trying to get a simple 12h time and date card working and nothing I do seems to work (correctly). I"ve found many posts and put together a combination of what I’ve found. What has worked (but in 24h format) is:
- platform: time_date
display_options:
- 'time'
- 'date'
- 'time_date'
However if I use another method (or a mix of them), the formatting and information layout is correct but it doesn’t continually update:
sensor:
- platform: template
sensors:
simple_time_date:
friendly_name: "Simple Time Date"
entity_id: sensor.time
value_template: "{{ as_timestamp(now()) | timestamp_custom('%-I:%m%p, %A %m/%d/%Y') }}"
Basically I want the format to be: 3:08PM, Thursday 08/20/2020. Can someone please tell me how to get the above to update 1x per minute like a normal clock would? Right now it seems like it polls once a day. Also if I’m doing this wrong, it could be due to taking the syntax from various posts.
Thanks!