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

No event trigger for all sensors #138850

Open
COLT9001 opened this issue Feb 19, 2025 · 7 comments
Open

No event trigger for all sensors #138850

COLT9001 opened this issue Feb 19, 2025 · 7 comments

Comments

@COLT9001
Copy link

The problem

Example the sensor.waschmaschine_operation_state dont send a event.
So the trigger for automation will not be activated on change status or state

What version of Home Assistant Core has the issue?

core-2025.2.4

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

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

@mib1185
Copy link
Contributor

mib1185 commented Feb 19, 2025

which integration provides the sensor.waschmaschine_operation_state entity? Further how did you proof, that there is no event fired? If it is by expecting some trigger in an automation to match, then please show us the automations yaml code

@COLT9001
Copy link
Author

COLT9001 commented Feb 19, 2025

The automation is quite simple. The trigger goes to the status information from the sensor.
Unfortunately, this automation is never triggered even though the values change according to the log.

Image

alias: WaschmaschineFertig
description: ""
triggers:
  - entity_id:
      - sensor.waschmaschine_operation_state
    to: Finished
    trigger: state
    from: run
    for:
      hours: 0
      minutes: 0
      seconds: 1
conditions: []
actions:
  - data: {}
    target:
      entity_id: input_boolean.waschmaschinefertig
    action: input_boolean.turn_on
  - data:
      message: Die Waschmaschine ist fertig\n{{now().strftime("%H:%M (%d.%m.%Y)")}}
      title: Waschmaschine
    action: notify.mobile_app1
  - data:
      message: Die Waschmaschine ist fertig\n{{now().strftime("%H:%M (%d.%m.%Y)")}}
      title: Waschmaschine
    action: notify.mobile_app2
  - data:
      dismissable: true
      autoclose: false
      title: Waschmaschine
      content: Die Waschmaschine ist fertig. {{now().strftime("%H:%M (%d.%m.%Y)")}}
      browser_id:
        - 211212
    target:
      device_id:
        - 121212
    action: browser_mod.popup
mode: single

@mib1185
Copy link
Contributor

mib1185 commented Feb 19, 2025

was there any other state besides run right before it changed to Finsihed? Further is run actually in lowercase?

@COLT9001
Copy link
Author

The state was configured by UI dropdown and there i can select Finished not finished. SO i think it is correct

The history from state is correct

Image

@mib1185
Copy link
Contributor

mib1185 commented Feb 19, 2025

but run seems to be in uppercase, but you have it in lowercase in your automation

@COLT9001
Copy link
Author

It will be set from the UI. The yaml is automatically generated from HomeAsistant
But i have also tryed without the "from" value only with the "to" value
Image

@COLT9001
Copy link
Author

I am not sure it helps. But from 7 devices i have with 3 multiple problems.
For example
the dryer WQB245B40 from Bosch is not working (unavaliable) but still exists in HomeConnect
the cookieng field PXY875KW1E from Bosch is also unavaliable but works in HomeConnect
in the past few months/years, parameters have repeatedly disappeared or been unavailable, even though the devices have been in operation for months

and i can not delete old devices from HomeConnect integration (it was still removed in HomeConnect app online and not longer exist)
old devices will alwasy shown and can not deleted

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

No branches or pull requests

2 participants