d766aae436
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: frenck <[email protected]>
18 lines
451 B
Python
18 lines
451 B
Python
"""Diagnostics platform for Sleep as Android integration."""
|
|
|
|
from typing import Any
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
from . import SleepAsAndroidConfigEntry
|
|
|
|
|
|
async def async_get_config_entry_diagnostics(
|
|
hass: HomeAssistant, config_entry: SleepAsAndroidConfigEntry
|
|
) -> dict[str, Any]:
|
|
"""Return diagnostics for a config entry."""
|
|
|
|
return {
|
|
"config_entry_data": {"cloudhook": config_entry.data["cloudhook"]},
|
|
}
|