Replies: 2 comments
-
In 1.3.0 I was trying to spilt the suggestions so that if the GenAI is giving you some automation code, it will split it so it's easier to see. You can re-create this ((Make sure you change to your provider sensor!!)) title: AI Automation
|
Beta Was this translation helpful? Give feedback.
-
Quick heads-up after the 1.3.1 refresh. TL;DR Description card now strips the YAML block, so you just get the readable prose. YAML card auto-extracts the first yaml fence and formats it. When the AI reply doesn’t contain code, you get a tidy “No YAML block found” note instead of a blank box. ✅ What we tweaked title: AI Automation title: AI Lab type: template Last update: {{ {{ state_attr('sensor.ai_automation_suggestions_google', type: markdown {% if code %} yaml {{ code }} {% else %} No YAML block Next steps / nice-to-haves Loop through multiple fenced blocks if you’re getting more than one automation back Add a quick-copy button for the YAML (clipboard-code-block or card-mod) Give it a whirl and shout if anything still feels off. |
Beta Was this translation helpful? Give feedback.
-
Does anyone have any dashboard layout suggestions?
I have set up the markdown card, which does not look good
type: markdown
content: "{{ state_attr('sensor.ai_automation_suggestions','suggestions') }}"
grid_options:
columns: 45
rows: 8
Beta Was this translation helpful? Give feedback.
All reactions