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.54k stars 30.72k forks source link

HomeWizard Energy : Don't trigger automation when value > 1 #116632

Closed miniil closed 3 months ago

miniil commented 6 months ago

The problem

I create an automation on P1 meter Power if state > 1 (W) but never trigger. It is only triggered if the state is before <0 and then my condition

What version of Home Assistant Core has the issue?

core-2024.4.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

mchangsp commented 6 months ago

Can you publish your code here?

Numeric state triggers are only triggered when the treshold is crossed. If you have a trigger 'value > 1' then: from 0 to 5 will trigger an event. from 5 to 7 will not trigger an event.

https://www.home-assistant.io/docs/automation/trigger/#numeric-state-trigger

issue-triage-workflows[bot] commented 3 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.