From bfa8ec43c143839c3404461e262e4859f083b2e7 Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Tue, 21 Oct 2025 20:25:31 -0500 Subject: [PATCH] example: allow any str for bridge IP --- examples/smart_home/src/smart_home/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/smart_home/src/smart_home/settings.py b/examples/smart_home/src/smart_home/settings.py index 14e8ff98c..f4f843ff9 100644 --- a/examples/smart_home/src/smart_home/settings.py +++ b/examples/smart_home/src/smart_home/settings.py @@ -1,11 +1,11 @@ -from pydantic import Field, IPvAnyAddress +from pydantic import AnyHttpUrl, Field from pydantic_settings import BaseSettings, SettingsConfigDict class Settings(BaseSettings): model_config = SettingsConfigDict(env_file=".env", extra="ignore") - hue_bridge_ip: IPvAnyAddress = Field(default=...) + hue_bridge_ip: AnyHttpUrl = Field(default=...) hue_bridge_username: str = Field(default=...)