mirror of
https://github.com/Sosokker/HomieCare.git
synced 2025-12-20 10:24:04 +01:00
Update Camera model
This commit is contained in:
parent
0b31a89315
commit
c6adb4ed7a
@ -20,8 +20,8 @@ class WeatherDataBase(BaseModel):
|
|||||||
indoor_light: Optional[int]
|
indoor_light: Optional[int]
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
orm_mode = True
|
from_attributes = True
|
||||||
|
|
||||||
class Camera(BaseModel):
|
class Camera(BaseModel):
|
||||||
rtsp_link: str
|
camera_id: int
|
||||||
rtmp_link: str = None
|
link: str
|
||||||
Loading…
Reference in New Issue
Block a user