- 积分
- 318
- 金钱
- 251
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 318
- 金钱
- 251
- HASS币
- 0
|
发表于 2021-10-7 15:51:08
|
显示全部楼层
弄不来欸....看都看不懂
last_reset_topic string (optional)
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.
last_reset_value_template string (optional)
Defines a template to extract the last_reset. Available variables: entity_id. The entity_id can be used to reference the entity’s attributes.
|
|