Skip to content

Commit

Permalink
v0.0.5
Browse files Browse the repository at this point in the history
Rename HomeAssistantType —> HomeAssistant for integrations n* - p* #49559
  • Loading branch information
dckiller51 committed May 3, 2021
1 parent 5a172d6 commit ec68ccb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ aurelien:

**VERSION**

**0.0.5**
- Rename HomeAssistantType —> HomeAssistant for integrations n* - p* #49559

**0.0.4**
- Fixed a startup error.
- Update Readme by @Ernst79 (Thanks)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/bodymiscale/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Base component constants
NAME = "Body Xiaomi Miscale Esphome"
DOMAIN = "bodymiscale"
VERSION = "0.0.4"
VERSION = "0.0.5"

ISSUE_URL = "https://github.com/dckiller51/bodymiscale/issues"
DOC_URL = "https://github.com/dckiller51/bodymiscale"
Expand Down
5 changes: 2 additions & 3 deletions custom_components/bodymiscale/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@

from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_OK, STATE_PROBLEM
from homeassistant.core import callback
from homeassistant.helpers.typing import HomeAssistantType
from homeassistant.core import HomeAssistant, callback


@callback
def async_describe_on_off_states(
hass: HomeAssistantType, registry: GroupIntegrationRegistry
hass: HomeAssistant, registry: GroupIntegrationRegistry
) -> None:
"""Describe group on off states."""
registry.on_off_states({STATE_PROBLEM}, STATE_OK)
2 changes: 1 addition & 1 deletion custom_components/bodymiscale/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"documentation": [],
"after_dependencies": [],
"codeowners": ["dckiller51"],
"version": "0.0.4"
"version": "0.0.5"
}

0 comments on commit ec68ccb

Please sign in to comment.