Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106333

Time Date command displays UTC not local in Lovelace- yet Raspian returns correctly

$
0
0

Hi, I’m using Raspian and docker installation of Home Assistant Version 0.107.7. Ever since installing it, my Lovelace panel displays UTC time.

In my configuration file I’ve been using command line to get the date as a sensor:

sensor:
  - platform: command_line
    name: get_time_date
    command: date "+ %I:%M %p";echo;date "+%b-%d-%Y"

It was working great. If I login to the raspberry and type the same command, it returns the correct time and date.

I’ve been looking for what the issue is and if others have had it but come up empty. So sorry if this is documented somewhere and I missed it, but it’s driving me crazy trying to fix it.

All suggestions welcome.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>