Skip to content

Не обновляется показание, если оно не изменилось #19

@Tamahome-M

Description

@Tamahome-M

Если нет потребления воды, время обновления данных (state.last_updated) показания не обновляются, хотя температура меняется, значит счетчик шлет данные.

Image

В дебаге тоже видно, что показания получали:

2025-06-15 17:57:36.208 DEBUG (MainThread) [custom_components.elehant.const] Показания: 386.8701
2025-06-15 18:03:09.236 DEBUG (MainThread) [custom_components.elehant.const] Показания: 386.8701
2025-06-15 18:03:38.515 DEBUG (MainThread) [custom_components.elehant.const] Показания: 386.8701
2025-06-15 18:04:40.090 DEBUG (MainThread) [custom_components.elehant.const] Показания: 386.8701
2025-06-15 18:05:09.328 DEBUG (MainThread) [custom_components.elehant.const] Показания: 386.8701

state.last_updated Time the state was written to the state machine. Note that writing the exact same state including attributes will not result in this field being updated.

state.last_changed Time the state changed. This is not updated when there are only updated attributes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions