Skip to content

Setup

Main entry

The gear icon of the integration opens the settings that apply to all briefings:

  • AI Task entity (optional): leave empty to use the default entity for data generation tasks from the AI suggestions settings of Home Assistant. If no entity is chosen and no default is set, the entry cannot be saved.
  • Global prompt mode & Global prompt: choose between the integration default prompt and a custom prompt (role, addressing, greeting, content and brevity). The text field is prefilled with the default text as a template. See Prompt.

Briefings

Add briefing creates a briefing, the gear icon of a briefing (Edit briefing) edits it. Both run through the same steps:

  1. Basics: name and persons. The name has to be unique; it becomes part of the device name ("AI Briefing Bedroom") and the entity IDs.
  2. Addressing: who is addressed directly, chosen from the persons. Only shown if persons are chosen. If nobody is selected, all persons are addressed.
  3. Entities: one field per person plus "Shared entities"
  4. Calendar lookahead: only shown if calendars are chosen; empty means the time window
  5. Text and schedule: device prompt, maximum length, time window, interval, start time

Step 1: name and persons Step 1: name and persons

Step 3: entities per person and shared Step 3: entities per person and shared

Options of step 5:

Option Range Default
Device prompt mode Integration default device prompt, Custom device prompt or No device prompt Integration default device prompt
Device prompt formatting (Markdown heading, bold values, emojis) and optional extra rules for this briefing prefilled with default text
Maximum length 60 to 500 characters, in steps of 10 300
Time window 1 to 168 hours, for weather, to-do lists and calendars without their own lookahead 12 h
Interval every 30 minutes, hourly, every 2, 4, 6 or 12 hours, daily hourly
Start time first run of the day 05:00

Tip

Clear display names help the AI: "Bedroom brightness" is useful, "Illuminance" is not.

Saving the main entry or a briefing reloads the integration but does not generate a new text. The next scheduled run notices the change and calls the AI; press Generate to see the result right away.

Schedule

The first run of the day is at the start time, all further runs follow at the interval:

Interval Start time Runs
every 6 hours 05:00 05:00, 11:00, 17:00, 23:00
every 4 hours 05:00 05:00, 09:00, 13:00, 17:00, 21:00, 01:00
hourly 05:15 at quarter past every hour
daily 05:00 05:00

A run only calls the AI if the data, the date, the part of the day, the prompt or the AI Task entity in use changed, or if the previous run failed. The parts of the day are morning from 05:00, midday from 11:00, evening from 17:00 and night from 22:00. Otherwise the previous text stays. That is why the default prompt asks for clock times instead of relative times like "in an hour".

The Generate button and the action ai_briefing.generate always call the AI, even if nothing changed.