Skip to content

0.6.0

Choose a tag to compare

@jl0906 jl0906 released this 22 Jul 20:05
6a1ac05

Changelog 0.6.0

Import and guided conversion of Home Assistant automations into SmartHomeAssistant control rules.

Added

  • Independent control-automation analysis alongside the existing room-light analysis.
  • New Control automations filter and counters on the Automations page.
  • Separate Import as control rule action without preventing a room import from the same source.
  • Direct recognition of automation.turn_off → fixed delay → automation.turn_on as a temporary disable rule.
  • Direct recognition of the inverse sequence as a temporary enable rule.
  • Conversion of simple entity-state prerequisites on light automations into continuous state requirements.
  • Guided control-rule setup for recognizable templates, complex state triggers, additional actions, and multiple automation targets.
  • Suggestions for template-referenced source entities and recognizable previous-event time windows.
  • Automatic target-room suggestion when a controlled Home Assistant automation resolves to one configured room.
  • Editable five-step import popup for source, state, effect, target room, duration, conditions, priority, observation mode, and enabled state.
  • Separate room-import and control-rule-import records for the same source automation.
  • Administrator-only smart_home_assistant/import_control_rule WebSocket command.
  • Activity entries for imported and undone control rules.
  • Undo support that removes the imported control rule and re-enables a source disabled by the import.
  • Repository tests for direct enable/disable sequences, state prerequisites, previous-event templates, multiple targets, API exposure, and release metadata.

Safety

  • Control-rule imports can keep or disable the original automation; manually managed YAML is never edited or deleted.
  • Keeping the original stores the imported control rule disabled to avoid duplicate behavior.
  • Partial imports require explicit confirmation before unsupported source behavior is omitted.
  • Blueprints, missing stable IDs, ambiguous sources, multiple time windows, and non-direct targets are not silently translated.
  • Every imported rule passes the normal control-rule entity, room, conflict, priority, override, and cycle validation.
  • Failed storage operations remove the incomplete imported rule and re-enable a source disabled during the transaction.
  • Source backups remain excluded from diagnostics and ordinary frontend responses.

Changed

  • Sidebar frontend component advanced to release-specific v060.
  • Config entry minor version increased to 6.
  • The Automations page can classify one source as both a room automation and a control automation.