Add source address early for KNX services (#94889)
This commit is contained in:
parent
5d40edcf02
commit
a262cd2b96
2 changed files with 3 additions and 1 deletions
|
@ -683,6 +683,7 @@ class KNXModule:
|
||||||
payload=GroupValueResponse(payload)
|
payload=GroupValueResponse(payload)
|
||||||
if attr_response
|
if attr_response
|
||||||
else GroupValueWrite(payload),
|
else GroupValueWrite(payload),
|
||||||
|
source_address=self.xknx.current_address,
|
||||||
)
|
)
|
||||||
await self.xknx.telegrams.put(telegram)
|
await self.xknx.telegrams.put(telegram)
|
||||||
|
|
||||||
|
@ -692,5 +693,6 @@ class KNXModule:
|
||||||
telegram = Telegram(
|
telegram = Telegram(
|
||||||
destination_address=parse_device_group_address(address),
|
destination_address=parse_device_group_address(address),
|
||||||
payload=GroupValueRead(),
|
payload=GroupValueRead(),
|
||||||
|
source_address=self.xknx.current_address,
|
||||||
)
|
)
|
||||||
await self.xknx.telegrams.put(telegram)
|
await self.xknx.telegrams.put(telegram)
|
||||||
|
|
|
@ -34,7 +34,7 @@ async def register_panel(hass: HomeAssistant) -> None:
|
||||||
hass.http.register_static_path(
|
hass.http.register_static_path(
|
||||||
URL_BASE,
|
URL_BASE,
|
||||||
path,
|
path,
|
||||||
cache_headers=not is_dev_build,
|
cache_headers=not is_dev_build(),
|
||||||
)
|
)
|
||||||
await panel_custom.async_register_panel(
|
await panel_custom.async_register_panel(
|
||||||
hass=hass,
|
hass=hass,
|
||||||
|
|
Loading…
Add table
Reference in a new issue