Skip to content

Commit

Permalink
Merge pull request #26 from CM000n/fix/incorrect_type_expected_str_go…
Browse files Browse the repository at this point in the history
…t_NodeStrClass

Fix: `NodeStrClass` conversion introduces by Home Assistant 2024.1
  • Loading branch information
CM000n authored Jan 12, 2024
2 parents 618a3ae + 75cb35d commit 8ef3452
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 34 deletions.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ It is recommended to always use the latest stable version to benefit from the la

| Version | Supported |
| ------- | ------------------ |
| v0.0.6 | :white_check_mark: |
| v0.0.10 | :white_check_mark: |

## Reporting a Vulnerability

Expand Down
4 changes: 2 additions & 2 deletions custom_components/qss/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up qss."""
conf = config[DOMAIN]

db_host = conf.get(CONF_HOST)
db_port = conf.get(CONF_PORT)
db_host = str(conf.get(CONF_HOST))
db_port = int(conf.get(CONF_PORT))

entity_filter = convert_include_exclude_filter(conf)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/qss/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"iot_class": "local_push",
"issue_tracker": "https://github.com/CM000n/QSS/issues",
"requirements": ["questdb>=1.2,<2.0", "tenacity>=8.0"],
"version": "v0.0.9"
"version": "v0.0.10"
}
48 changes: 19 additions & 29 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "qss"
version = "v0.0.9"
version = "v0.0.10"
description = "QuestDB State Storage (QSS) for Home Assistant"
authors = ["CM000n"]
keywords = [
Expand Down

0 comments on commit 8ef3452

Please sign in to comment.