Open Habbie opened 6 months ago
We may have reasons to want to render templates. One might be https://stackoverflow.com/questions/70314436/how-to-get-a-list-of-areas-or-devices-in-my-home-assistant-via-api (although I suspect this can be done with a template).
We can't (easily) use client-cli dump-command for this (#32 does not solve this) because the result of a WebSocket render_template call is success:true, soon followed by an event with the rendered result.
client-cli dump-command
render_template
success:true
event
We may have reasons to want to render templates. One might be https://stackoverflow.com/questions/70314436/how-to-get-a-list-of-areas-or-devices-in-my-home-assistant-via-api (although I suspect this can be done with a template).
We can't (easily) use
client-cli dump-command
for this (#32 does not solve this) because the result of a WebSocketrender_template
call issuccess:true
, soon followed by anevent
with the rendered result.