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
70k stars 29.08k forks source link

The set of group states changes from "on|off" to "home|not_home" #120918

Open AlexKey1971 opened 2 weeks ago

AlexKey1971 commented 2 weeks ago

The problem

There is a group that includes device_tracker entity from Keenetic NDMS2 Router. After restarting hassio (Developer tools > Yaml > Restart > Restart Home Assistant), the group state set can be "on" or "off". But after reloading All Yaml Configuration, the state set changes to "home" or "not_home".

What version of Home Assistant Core has the issue?

core-2024.6.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Keenetic NDMS2 Router

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

Example of the groups.yaml file.

any_any:
  entities:
  - device_tracker.some_device

Anything in the logs that might be useful for us?

No response

Additional information

No response

AlexKey1971 commented 2 weeks ago

After restart Home Assistant: image After reloading All Yaml Configuration: image

home-assistant[bot] commented 2 weeks ago

group_state documentation group_state source

home-assistant[bot] commented 2 weeks ago

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (group) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `group` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign group` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


group documentation group source (message by IssueLinks)

elupus commented 2 weeks ago

This is probably solved by: https://github.com/home-assistant/core/pull/119021 that is available in next beta.