Skip to content

Commit

Permalink
Update manifest for Hassfest verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Oct 1, 2023
1 parent 6caab39 commit 363bf54
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
26 changes: 13 additions & 13 deletions custom_components/average/manifest.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"domain": "average",
"name": "Average Sensor",
"version": "2.3.1-alpha",
"documentation": "https://github.com/Limych/ha-average",
"issue_tracker": "https://github.com/Limych/ha-average/issues",
"dependencies": [],
"after_dependencies": [
"history",
"recorder",
"weather"
"history",
"recorder",
"weather"
],
"config_flow": false,
"codeowners": [
"@Limych"
"@Limych"
],
"config_flow": false,
"dependencies": [],
"documentation": "https://github.com/Limych/ha-average",
"iot_class": "calculated",
"issue_tracker": "https://github.com/Limych/ha-average/issues",
"version": "2.3.1-alpha",
"requirements": [
"colorlog==6.7.0"
],
"iot_class": "calculated"
}
"colorlog==6.7.0"
]
}
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ ignored-classes=_CountingAttr
expected-line-ending-format=LF

[EXCEPTIONS]
overgeneral-exceptions=BaseException,Exception,HomeAssistantError
overgeneral-exceptions=builtins.BaseException,builtins.Exception,builtins.HomeAssistantError
5 changes: 4 additions & 1 deletion tests/test_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ async def test_entity_initialization(hass: HomeAssistant, default_sensor):
None,
)

assert entity.unique_id == "ca6b83d00637cf7d1e2f5c30b4f4f0402ad2fc53"
assert entity.unique_id in (
"2ef66732fb7155dce84ad53afe910beba59cfad4",
"ca6b83d00637cf7d1e2f5c30b4f4f0402ad2fc53",
)


async def test_async_setup_platform(hass: HomeAssistant):
Expand Down

0 comments on commit 363bf54

Please sign in to comment.