Files
core/homeassistant/components/linkplay/diagnostics.py
T
epenetGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>frenck
d766aae436 Remove import annotations from components (#169536)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
2026-04-30 21:14:48 +02:00

16 lines
395 B
Python

"""Diagnostics support for Linkplay."""
from typing import Any
from homeassistant.core import HomeAssistant
from . import LinkPlayConfigEntry
async def async_get_config_entry_diagnostics(
hass: HomeAssistant, entry: LinkPlayConfigEntry
) -> dict[str, Any]:
"""Return diagnostics for a config entry."""
data = entry.runtime_data
return {"device_info": data.bridge.to_dict()}