File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
homeassistant/components/velbus Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ async def set_memo_text(call: ServiceCall) -> None:
6969 module = entry .runtime_data .controller .get_module (call .data [CONF_ADDRESS ])
7070 if not module :
7171 raise ServiceValidationError ("Module not found" )
72- await module .set_memo_text (memo_text . async_render () )
72+ await module .set_memo_text (memo_text )
7373
7474 async def clear_cache (call : ServiceCall ) -> None :
7575 """Handle a clear cache service call."""
@@ -135,7 +135,7 @@ async def clear_cache(call: ServiceCall) -> None:
135135 vol .Required (CONF_ADDRESS ): vol .All (
136136 vol .Coerce (int ), vol .Range (min = 0 , max = 255 )
137137 ),
138- vol .Optional (CONF_MEMO_TEXT , default = "" ): cv .template ,
138+ vol .Optional (CONF_MEMO_TEXT , default = "" ): cv .string ,
139139 }
140140 ),
141141 )
You can’t perform that action at this time.
0 commit comments