Hi all,
I think I found either some limitation or some bug in HomeAssistant Supervisor.
I have an addon with a config.yaml schema that looks like:
schema:
dhcp_ip_ranges:
- start: str
end: str
...more stuff...
This looks good and is loaded correctly by HomeAssistant.
However if I nest that “dhcp_ip_ranges” one level more like:
schema:
dhcp_server:
ip_ranges:
- start: str
end: str
...more stuff...
Then whenever I hit “load updates” button in the addons screen of HA, I can see the following error appearing in home assistant OS_supervisor log:
2025-02-20 00:04:05.745 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/f18m/ha-addons-repo repository
2025-02-20 00:04:14.886 WARNING (SyncWorker_7) [supervisor.store.data] Can't read /data/addons/git/79957c2e/dnsmasq-dhcp-server-beta/config.yaml: expected string or buffer @ data['schema']['dhcp_server']['ip_ranges'][0]. Got {'start': 'str', 'end': 'str'}
Should I raise a bug? Or is this an intended limitation?
thanks