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

Owntracks sensor.timestamp doesn't show relative time?

$
0
0

@Mariusthvdb wrote:

using the option relative on the Owntracks timestamp sensor still shows the timestamp, and not the relative time:

47

  - type: entities
    title: Owntracks
    show_header_toggle: false
    entities:
      - sensor.ot_battery
      - sensor.ot_altitude
      - sensor.ot_latitude
      - sensor.ot_longitude
      - sensor.ot_topic_id
      - entity: sensor.ot_timestamp
        format: relative
      - sensor.ot_course_over_ground
      - sensor.ot_accuracy
      - sensor.ot_vertical_accuracy
      - sensor.ot_velocity
      - sensor.ot_internet_connectivity
      - sensor.ot_type
      - sensor.ot_trigger
      - sensor.ot_copy_mode

is this a bug, or is the sensor not a real timestamp sensor. Or would I need to add other configuration settings?

this is the mqtt sensor

  - platform: mqtt
    state_topic: !secret owntracks_mqtt_topic
    name: 'Ot Timestamp'
    icon: mdi:clock
    value_template: '{{value_json.tst}}'

adding device_class: timestamp to the mqtt sensors errors on ‘invalid date’

02

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95459

Trending Articles



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