CONF_VERIFY_MQTT_CERTIFICATE collected from user but never applied #3

Closed
opened 2026-05-11 06:14:24 +00:00 by Mark · 0 comments
Owner

Summary

The config flow collects CONF_VERIFY_MQTT_CERTIFICATE from the user (defaulting to True), but the YeediController never reads or passes this value when creating the MQTT configuration.

Location

  • yeedi/config_flow.py lines 172-174: collects the setting
  • yeedi/controller.py lines 89-94: create_mqtt_config partial does not include verify_mqtt_certificate

Impact

Users who disable MQTT certificate verification in the config flow will still have verification enforced, which may cause connection failures with self-signed certificates.

Suggested fix

Read CONF_VERIFY_MQTT_CERTIFICATE from config in YeediController.__init__() and pass it to the create_mqtt_config partial.

## Summary The config flow collects `CONF_VERIFY_MQTT_CERTIFICATE` from the user (defaulting to `True`), but the `YeediController` never reads or passes this value when creating the MQTT configuration. ## Location - `yeedi/config_flow.py` lines 172-174: collects the setting - `yeedi/controller.py` lines 89-94: `create_mqtt_config` partial does not include `verify_mqtt_certificate` ## Impact Users who disable MQTT certificate verification in the config flow will still have verification enforced, which may cause connection failures with self-signed certificates. ## Suggested fix Read `CONF_VERIFY_MQTT_CERTIFICATE` from `config` in `YeediController.__init__()` and pass it to the `create_mqtt_config` partial.
Mark closed this issue 2026-05-11 16:00:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/yeedi-ha-mqtt#3
No description provided.