Skip to content

Commit

Permalink
Fix stop_switch_entity_id not being present causing the integration…
Browse files Browse the repository at this point in the history
… to crash (#10)
  • Loading branch information
Sese-Schneider authored Apr 17, 2024
1 parent cf0123e commit 13a9dc7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 2.1.1 (2024-04-17)

### Bug Fixes

- Fix `stop_switch_entity_id` not being present causing the integration to crash


## 2.1.0 (2024-04-11)

### Features
Expand Down
4 changes: 3 additions & 1 deletion custom_components/cover_time_based/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
vol.Required(CONF_NAME): cv.string,
vol.Required(CONF_OPEN_SWITCH_ENTITY_ID): cv.entity_id,
vol.Required(CONF_CLOSE_SWITCH_ENTITY_ID): cv.entity_id,
vol.Optional(CONF_STOP_SWITCH_ENTITY_ID): cv.entity_id,
vol.Optional(
CONF_STOP_SWITCH_ENTITY_ID, default=None
): vol.Any(cv.entity_id, None),
vol.Optional(
CONF_TRAVELLING_TIME_DOWN, default=DEFAULT_TRAVEL_TIME
): cv.positive_int,
Expand Down
2 changes: 1 addition & 1 deletion custom_components/cover_time_based/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"requirements": [
"xknx==0.9.4"
],
"version": "2.1.0"
"version": "2.1.1"
}

0 comments on commit 13a9dc7

Please sign in to comment.