Clarify last_reset configuration for MQTT sensor (#19148)

This commit is contained in:
Erik Montnemery 2021-08-31 15:14:25 +02:00 committed by GitHub
parent d58df4c14c
commit b0efa008d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,7 +120,7 @@ json_attributes_topic:
required: false
type: string
last_reset_topic:
description: "The MQTT topic subscribed to receive timestamps for when an accumulating sensor such as an energy meter was reset. If the sensor never resets, set it to UNIX epoch 0: `1970-01-01T00:00:00+00:00`."
description: "The MQTT topic subscribed to receive timestamps for when an accumulating sensor such as an energy meter was reset. If the sensor never resets, set `last_reset_topic` to same as `state_topic` and set the `last_reset_value_template` to a constant valid timstamp, for example UNIX epoch 0: `1970-01-01T00:00:00+00:00`."
required: false
type: string
last_reset_value_template: