Skip to content

Blueprint: "Service does not match format" and "Entity is neither a valid entity ID" errors prevent saving #2039

Description

@Senseless91

Description

The blueprint weekly_heating_schedule.yaml cannot be saved via the HA UI. Two validation errors occur:

  1. Message malformed: Service does not match format <domain>.<name> for dictionary value @ data['actions'][0]['choose'][0]['sequence'][0]['choose'][0]['sequence'][1]['then'][0]['action']
  2. Message malformed: Entity is neither a valid entity ID nor a valid UUID for dictionary value @ data['entity_id']

Both errors appear regardless of whether the optional fields (Notification target, Presence entity) are left empty or filled with valid values. The blueprint cannot be saved at all through the UI.

Steps to Reproduce

  1. Go to Settings → Automations → Blueprints → Better Thermostat: Weekly Heating Schedule
  2. Select a Better Thermostat device as target
  3. Configure time slots and presets
  4. Optionally fill in or leave empty the Presence entity and Notification target fields
  5. Click Save

Expected behavior:
The automation is saved successfully and appears in the automations list.

Actual behavior:
HA throws a validation error and the automation cannot be saved. The error points to an empty action field deep inside the blueprint's generated automation config, suggesting an optional feature generates an invalid (empty) service call even when disabled.

Versions and HW

Home Assistant: 2026.5.4
Better Thermostat: 1.8.0
Better Thermostat UI Card: 3.0.1
TRV(s): Zigbee2MQTT-based TRVs (SRTS-A01)

Debug data

diagnostic data

{
  NOT APPLICABLE - issue is in blueprint validation, not device behavior
}

debug log
Not applicable for this issue.

graphs
Not applicable for this issue.

Additional Information

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingnew bugincoming bug issue

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions