Skip to content

Commit

Permalink
Fill device model with version info
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGos committed Oct 4, 2023
1 parent 89a3839 commit 4fa3665
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/davis_vantage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
identifiers={(DOMAIN, entry.entry_id)},
manufacturer=MANUFACTURER,
name=NAME,
sw_version=VERSION
model=VERSION
)

hass.data[DOMAIN][entry.entry_id] = coordinator = DavisVantageDataUpdateCoordinator(
Expand Down
2 changes: 1 addition & 1 deletion custom_components/davis_vantage/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
DOMAIN = "davis_vantage"
MANUFACTURER = "Davis"
MODEL = "Vantage Pro2/Vue"
VERSION = "0.0.2"
VERSION = "1.0.3"

DEFAULT_SYNC_INTERVAL = 30 # seconds
DEFAULT_NAME = NAME
Expand Down
2 changes: 1 addition & 1 deletion custom_components/davis_vantage/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"domain": "davis_vantage",
"name": "Davis Vantage",
"version": "1.0.2",
"version": "1.0.3",
"config_flow": true,
"documentation": "https://github.com/MarcoGos/davis_vantage",
"requirements": ["PyVantagePro==0.3.2"],
Expand Down

0 comments on commit 4fa3665

Please sign in to comment.