Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
basbruss committed Apr 3, 2024
1 parent 8cf79e7 commit ec3b953
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions custom_components/adaptive_cover/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@
{
vol.Optional(CONF_ENTITIES, default=[]): selector.EntitySelector(
selector.EntitySelectorConfig(
domain="cover",
multiple=True,
filter=selector.EntityFilterSelectorConfig(
supported_features=["cover.CoverEntityFeature.SET_POSITION"]
domain="cover",
supported_features=["cover.CoverEntityFeature.SET_POSITION"],
),
)
),
Expand Down Expand Up @@ -160,10 +160,10 @@
{
vol.Optional(CONF_ENTITIES, default=[]): selector.EntitySelector(
selector.EntitySelectorConfig(
domain="cover",
multiple=True,
filter=selector.EntityFilterSelectorConfig(
supported_features=["cover.CoverEntityFeature.SET_TILT_POSITION"]
domain="cover",
supported_features=["cover.CoverEntityFeature.SET_TILT_POSITION"],
),
)
),
Expand Down
2 changes: 1 addition & 1 deletion custom_components/adaptive_cover/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async def async_check_entity_state_change(
async def _async_update_data(self) -> AdaptiveCoverData:
self.entities = self.config_entry.options.get(CONF_ENTITIES, [])
self.min_change = self.config_entry.options.get(CONF_DELTA_POSITION, 1)
self.time_threshold = self.config_entry.options.get(CONF_DELTA_TIME)
self.time_threshold = self.config_entry.options.get(CONF_DELTA_TIME, 2)
self.start_time = self.config_entry.options.get(CONF_START_TIME)
self.start_time_entity = self.config_entry.options.get(CONF_START_ENTITY)

Expand Down

0 comments on commit ec3b953

Please sign in to comment.