CONF_SHOW_IN_DUMP_CONFIG default to False, it might cause a bootloop and activates safe mode when there is not enough memory. I tested with a fully loaded device that has only 6-10k free, it crashes, even if the yaml data is only 3k.

This commit is contained in:
Gábor Poczkodi 2024-11-10 00:48:02 +01:00
parent 96b61c73dc
commit bfe43efcdd

View file

@ -19,7 +19,7 @@ StoreYamlComponent = store_yaml_ns.class_("StoreYamlComponent", cg.Component)
CONFIG_SCHEMA = cv.Schema(
{
cv.GenerateID(): cv.declare_id(StoreYamlComponent),
cv.Optional(CONF_SHOW_IN_DUMP_CONFIG, default=True): cv.boolean,
cv.Optional(CONF_SHOW_IN_DUMP_CONFIG, default=False): cv.boolean,
cv.Optional(CONF_SHOW_SECRETS, default=False): cv.boolean,
}
)