Open nikoszagk opened 4 months ago
Hmm, based on that error, it doesn't even look like it's getting to the integration code. It looks like it's failing during HASS's validation. Is there any issue listed for the HomeKit integration related to fans?
hello @simbaja , I didn't find any issue regarding fans for the HomeKit integration https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+homekit%22+fan
Although this time I tried to add the accessory from the UI of Home Assistant instead editing the configuration.yaml. The result was that it could find the fan of the A/C. The main thing is that 2 months ago the fan was working properly in homekit but after an update it broke. I couldn't find the version of that time that fan broke. Here is two screenshots of adding the accessory through UI
As you can see there is no entities.
On the other side here is the entities for my A/C
It doesn't include fan loool :D That's why i opened this ticket because it disappeared from the entities
Thanks NZ
Sorry for the delay, but I don't think there's an actual fan entity that it creates. Can you add "climate" domain entities to homekit?
When attempting to set the fan_mode through HomeKit integration in my Home Assistant setup, I encountered an error. Specifically, the error message states that "low" is not a valid fan_mode option. However, setting the fan_mode through Home Assistant directly works without any issues.
assistant.exceptions.ServiceValidationError: The fan_mode low is not a valid fan_mode: Auto, Low, Med, High
Steps to Reproduce:
Expected Behavior: Setting the fan_mode to "low" through HomeKit integration should be recognized as a valid option.
Actual Behavior: An error is thrown indicating that "low" is not a valid fan_mode option, despite it working correctly when set through Home Assistant directly.
Any relevant logs or error messages
It seems there might be an inconsistency between the validation of fan_mode options between Home Assistant and the HomeKit integration. Further investigation is needed to identify and resolve this issue.