Skip to content

Commit

Permalink
V2.1.0 (#89)
Browse files Browse the repository at this point in the history
* Create diagnostics.py

* Update manifest.json

* Update manifest.json
  • Loading branch information
Ludy87 authored Jul 22, 2023
1 parent 73bd737 commit abf0166
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions custom_components/ecotrend_ista/diagnostics.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""Diagnostics support for YouTube."""
from __future__ import annotations

from typing import Any

from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant

from .const import DOMAIN
from .coordinator import IstaDataUpdateCoordinator


async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: ConfigEntry) -> dict[str, Any]:
"""Return diagnostics for a config entry."""
coordinator: IstaDataUpdateCoordinator = hass.data[DOMAIN][entry.entry_id]
return coordinator.data
4 changes: 2 additions & 2 deletions custom_components/ecotrend_ista/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"dependencies": [],
"documentation": "https://github.com/Ludy87/ecotrend-ista/tree/main",
"integration_type": "device",
"iot_class": "local_polling",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/Ludy87/ecotrend-ista/issues",
"requirements": [
"pyecotrend_ista==2.0.19",
"marshmallow-enum"
],
"version": "v2.0.8"
"version": "v2.1.0"
}

0 comments on commit abf0166

Please sign in to comment.