Include port info in the ZHA websocket settings response (#93934)
This commit is contained in:
parent
457bc4571d
commit
cc47736d20
2 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@ from typing import TYPE_CHECKING, Any, Literal, NamedTuple, TypeVar, cast
|
|||
|
||||
import voluptuous as vol
|
||||
import zigpy.backups
|
||||
from zigpy.config import CONF_DEVICE
|
||||
from zigpy.config.validators import cv_boolean
|
||||
from zigpy.types.named import EUI64
|
||||
from zigpy.zcl.clusters.security import IasAce
|
||||
|
@ -1136,6 +1137,7 @@ async def websocket_get_network_settings(
|
|||
msg[ID],
|
||||
{
|
||||
"radio_type": async_get_radio_type(hass, zha_gateway.config_entry).name,
|
||||
"device": zha_gateway.application_controller.config[CONF_DEVICE],
|
||||
"settings": backup.as_dict(),
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue