Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inaccurate sensor #440

Open
paulthemann opened this issue Nov 30, 2024 · 2 comments
Open

Inaccurate sensor #440

paulthemann opened this issue Nov 30, 2024 · 2 comments

Comments

@paulthemann
Copy link

No longer reporting the correct usage for instance... right now the sensor in ha reports current usage 300w when the power sensor app reports -100w

@Muttly3699
Copy link

Yes, I have the same issue. I reload the integration and it will work for about an hour and then freezes.

@drc38
Copy link
Owner

drc38 commented Jan 16, 2025

I use an automation to reload if it hangs:

alias: "Power: reload stale sensor"
description: ""
mode: single
triggers:
  - hours: /1
    trigger: time_pattern
conditions:
  - condition: or
    conditions:
      - condition: template
        value_template: >-
          {{ now() - states.sensor.dius_sensor.last_changed >= timedelta
          (minutes=60) }}
        enabled: true
actions:
  - data: {}
    target:
      device_id: d9438229b5d9d3fdebae6f1ba56f8ce9
    action: homeassistant.reload_config_entry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants