Skip to content

helper min max missing device class #76003

Closed
@Bascht74

Description

@Bascht74

The problem

Hi, I added a helpe min/max-entity sensor and I cannot add it to homekit.
The device_class of all sensors is temperature, so the device_class of the helper entity should be temperature as well.
But that isn't the case. Without this device class the sensor will not be added to homekit. The unit_of_measurement °C is not enough...

What version of Home Assistant Core has the issue?

core-2022.8.0b2

What was the last working version of Home Assistant Core?

./.

What type of installation are you running?

Home Assistant OS

Integration causing the issue

min_max

Link to integration documentation on our website

https://home-assistant.io/integrations/min_max

Diagnostics information

./.

Example YAML snippet

./. (UI)

Anything in the logs that might be useful for us?

./.

Additional information

The device_class is not recognized and there is no other way to set it via the created entry in the UI.
I think it should be set automatically if all device_class of the used entities are the same.

Activity

probot-home-assistant

probot-home-assistant commented on Jul 31, 2022

@probot-home-assistant

min_max documentation
min_max source
(message by IssueLinks)

probot-home-assistant

probot-home-assistant commented on Jul 31, 2022

@probot-home-assistant

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

locked and limited conversation to collaborators on Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    helper min max missing device class · Issue #76003 · home-assistant/core