Closed Jc2k closed 4 years ago
Yes, that is correct. I never got to migrate all the different entities.
Awesome. Thanks for the PR as well. Can I do PR's for other entities without an arch issue?
Sure. I just did a couple though https://github.com/home-assistant/home-assistant/pull/30545
Nice
Context
I noticed when debugging a user issue that the
homekit
integration was failing to export a climate entity becausehvac_modes
was unavailable. Whilst there is theautostart
mitigation it would be better if that metadata was made a capability_attribute. Presumably this would equally apply to the Google Assistant and Alexa use cases too.Not sure if this requires an arch issue because i don't think its a behaviour change, but it does touch a core entity so playing safe.
Proposal
Basically:
There is a branch ready to go if this is something we want to do here.
Consequences
capability_attributes are included in state_attributes so I don't believe this will affect any existing code. But it will mean that integrations like
homekit
can leverage the metadata that is stored in the entity registry to improve their startup behaviour.