Skip to content

Commit

Permalink
fix: fixing config flow error 500
Browse files Browse the repository at this point in the history
remove unused fields from config_flow
  • Loading branch information
fuatakgun authored Jan 12, 2024
1 parent 9e8e077 commit 1a4444c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions custom_components/eufy_security/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ def __init__(self, config_entry: ConfigEntry) -> None:
{
vol.Optional(ConfigField.sync_interval.name, default=self.config.sync_interval): int,
vol.Optional(ConfigField.rtsp_server_address.name, default=self.config.rtsp_server_address): str,
vol.Optional(ConfigField.rtsp_server_port.name, default=self.config.rtsp_server_port): cv.port,
vol.Optional(ConfigField.ffmpeg_analyze_duration.name, default=self.config.ffmpeg_analyze_duration): float,
vol.Optional(ConfigField.generate_ffmpeg_logs.name, default=self.config.generate_ffmpeg_logs): bool,
vol.Optional(ConfigField.no_stream_in_hass.name, default=self.config.no_stream_in_hass): bool,
vol.Optional(ConfigField.name_for_custom1.name, default=self.config.name_for_custom1): str,
vol.Optional(ConfigField.name_for_custom2.name, default=self.config.name_for_custom2): str,
Expand Down

0 comments on commit 1a4444c

Please sign in to comment.