mirror of
https://github.com/home-assistant/core.git
synced 2026-10-09 07:49:22 +01:00
18 lines
416 B
Python
18 lines
416 B
Python
"""Provides diagnostics for Tado."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
from .coordinator import TadoConfigEntry
|
|
|
|
|
|
async def async_get_config_entry_diagnostics(
|
|
hass: HomeAssistant, config_entry: TadoConfigEntry
|
|
) -> dict[str, Any]:
|
|
"""Return diagnostics for a Tado config entry."""
|
|
|
|
return {"data": config_entry.runtime_data.data}
|