Skip to content

Onvif: Incorrect sensor assignment and missing translation #176975

Description

@JimGermany

The problem

Unfortunately, the bug where sensors are incorrectly assigned - appearing under "Diagnostics" instead of "Sensors" - still persists.

Image

I had reported this bug quite some time ago, but the report was closed with the status "Closed as not planned."

#144403

In other words, instead of a sensor....., the entity would need to be a binary_sensor..... for line_detector_crossed.

Since different attributes are used for the sensors (motion detection vs. line crossing detection),

Image Image

they are displayed differently under "Activities," and the translation is missing in the case of the line_detector_crossed.

Image

It would be great if the issue with the incorrect assignment of the "Line Detection Crossed" sensors were resolved, so that they appear correctly under "Sensors" rather than "Diagnostics."

What version of Home Assistant Core has the issue?

2026.7.2

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

Onvif

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions