mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-02-14 23:19:37 +00:00
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>