home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.66k stars 30.8k forks source link

Integral max_sub_interval not working #130601

Open v8schlumpf opened 9 hours ago

v8schlumpf commented 9 hours ago

The problem

The Value is not updated for several hours, even if I use max_sub_interval.

What version of Home Assistant Core has the issue?

core-2024.11.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

integration

Link to integration documentation on our website

https://www.home-assistant.io/integrations/integration/

Diagnostics information

No response

Example YAML snippet

- name: ess calculated SOC helper Ah
  platform: integration
  unique_id: "ess_calculated_soc_helper_ah"
  source: sensor.ess_inverter_battery_current
  round: 3
  method: trapezoidal
  max_sub_interval:
    minutes: 1

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 9 hours ago

Hey there @dgomes, mind taking a look at this issue as it has been labeled with an integration (integration) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `integration` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign integration` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


integration documentation integration source (message by IssueLinks)

dgomes commented 8 hours ago

Hello, we will need some debug logging to trace any issue.

v8schlumpf commented 7 hours ago

There is nothing to find in the logs (if i´m not doing it wrong)

dgomes commented 5 hours ago

You need to activate Debug either in the configuration.yaml or through the UI:

Screenshot 2024-11-14 at 13 54 55
v8schlumpf commented 4 hours ago

If you mean something like: `logger: #https://www.home-assistant.io/integrations/logger/ default: critical logs:

log level for Integration

homeassistant.components.integration: notset`

in the configuration.yaml it´s allready activated In the UI I can´t find simething like that