Closed matthiasdebaat closed 2 years ago
homekit documentation homekit source (message by IssueLinks)
Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
Can you give a few more lines about what you expect the behavior to be?
Do you want the bridge to reload whenever you hide them in the UI? That would be quite expensive as it has to do a full resync which we try to avoid.
I expected when hiding entities it only hides on my auto-generated dashboard, but it's still available in config flows for integrations like HomeKit.
I've got an input boolean that I toggle in the Apple Home app on my iPhone when I'm away or home. I find this one of the best presence detection I have. I don't need this boolean on my dashboard.
I'm assuming you are using exclude
Inclusion Mode. If you switch to include
Inclusion Mode it should allow you to add hidden ones as specific inclusion will override the logic:
if (
ent_reg_ent.entity_category is not None
or ent_reg_ent.hidden_by is not None
) and not self._filter.explicitly_included(entity_id):
continue
Both gives me an empty list. Tested on Chrome and Safari.
This is my input_boolean
I have a similar issue as Matthias, but via YAML instead of the frontend. I was attempting to add a hidden device (switch.whole_house_siren
) with the following config:
homekit:
- name: HA YAML Bridge
filter:
include_entities:
- switch.whole_house_hot_water_plug
- switch.whole_house_siren
entity_config:
switch.whole_house_hot_water_plug:
type: outlet
switch.whole_house_siren:
name: Whole House Siren
The non-hidden enabled
device, switch.whole_house_hot_water_plug
appears in HomeKit, but the hidden device, switch.whole_house_siren
does not appear.
For context, the entity is hidden automatically as it is part of Switch as X. The Switch as X entity is a siren
which is not yet compatible with the HomeKit
integration. (As a cheeky side note, adding the Siren domain to HomeKit would also workaround this issue 😅).
I have tried reloading HomeKit, restarting Home Assistant and HomeKit Reset Accessory service, all have no effect. There are no relevant entries in my Core logs.
To workaround this issue, and thanks to the fix #71250, I was able to add the entity to HomeKit by creating a new HomeKit instance using Include
through the frontend. But I figured it was worth mentioning incase others experience the issue.
Would it be preferable to add to this Issue, or should I raise a new one? Happy to do whatever works better for you guys.
I’m happy to provide any more information or testing as needed.
Thanks for making my favourite piece of software!
version | core-2022.5.4 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.9.9 |
os_name | Linux |
os_version | 5.10.103-v8 |
arch | aarch64 |
timezone | Australia/Sydney |
The problem
In the HomeKit configuration flow, hidden
Helpers
are not displayed and therefore are not pushed to the Apple Home app. EnabledHelpers
are show in the config flow. Hide them afterwards stil keeps them in the Home app. Editing the config flow makes them hidden again.What version of Home Assistant Core has the issue?
core-2022.5.0b6
What was the last working version of Home Assistant Core?
core-2022.4.7
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
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response