mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-05-08 08:58:31 +01:00
6b974a5b88
Add a type check for device options in AddonOptions._single_validate to ensure the value is a string before passing it to Path(). When a non-string value (e.g. a dict) is provided for a device option, this now raises a proper vol.Invalid error instead of an unhandled TypeError. Fixes SUPERVISOR-175H Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>