Skip to content

Commit

Permalink
Fix issue with new Select options
Browse files Browse the repository at this point in the history
  • Loading branch information
elad-bar committed Nov 3, 2022
1 parent 71fa5ea commit fbf2f1c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.0.22

- Fix issue with new Select options

## 2.0.21

**Version requires HA v2022.11.0 and above**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ def _load_unit_select(self):
key=unique_id,
name=entity_name,
device_class=f"{DOMAIN}__{STORAGE_DATA_UNIT}",
options=UNIT_OF_MEASUREMENT_MAPPING.keys(),
options=list(UNIT_OF_MEASUREMENT_MAPPING.keys()),
entity_category=EntityCategory.CONFIG
)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/edgeos/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"codeowners": ["@elad-bar"],
"requirements": ["aiohttp"],
"config_flow": true,
"version": "2.0.21",
"version": "2.0.22",
"iot_class": "local_polling"
}

0 comments on commit fbf2f1c

Please sign in to comment.