mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Remove explicit templating of velbus service data (#128904)
This commit is contained in:
parent
bad2e1f9c4
commit
13a448ebfe
@ -122,7 +122,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
await (
|
await (
|
||||||
hass.data[DOMAIN][call.data[CONF_INTERFACE]]["cntrl"]
|
hass.data[DOMAIN][call.data[CONF_INTERFACE]]["cntrl"]
|
||||||
.get_module(call.data[CONF_ADDRESS])
|
.get_module(call.data[CONF_ADDRESS])
|
||||||
.set_memo_text(memo_text.async_render())
|
.set_memo_text(memo_text)
|
||||||
)
|
)
|
||||||
|
|
||||||
hass.services.async_register(
|
hass.services.async_register(
|
||||||
@ -135,7 +135,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
vol.Required(CONF_ADDRESS): vol.All(
|
vol.Required(CONF_ADDRESS): vol.All(
|
||||||
vol.Coerce(int), vol.Range(min=0, max=255)
|
vol.Coerce(int), vol.Range(min=0, max=255)
|
||||||
),
|
),
|
||||||
vol.Optional(CONF_MEMO_TEXT, default=""): cv.template,
|
vol.Optional(CONF_MEMO_TEXT, default=""): cv.string,
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user