Skip to content

v0.3.3

Choose a tag to compare

@Felliglanz Felliglanz released this 08 Feb 10:44
· 20 commits to main since this release

Release v0.3.3 - State Machine Mode πŸŽ‰

This release introduces State Machine Mode, a powerful new way to generate rule-based states alongside the existing Formula and Source modes.

πŸ†• What's New

State Machine Items

  • Create string or boolean output states based on conditional rules
  • Rules are evaluated top-to-bottom (first match wins)
  • Full formula support in conditions (all operators, functions, and state helpers)
  • Perfect for translating system states, status codes, or creating complex logic flows

Quick-Start Examples

  • πŸ”‹ Battery Levels - Convert SOC to status labels (Empty/Low/Full/Normal)
  • ⚑ Surplus Categories - Generate PV surplus states
  • πŸ• Time of Day - Create time-based states (Morning/Afternoon/Evening/Night)
  • One-click insertion for immediate use

Enhanced UX

  • Inline help and tooltips for rule conditions
  • Hidden clamp/negative options (not applicable for string/boolean outputs)
  • Better visual guidance similar to Formula Builder

πŸ’‘ Use Cases

  • Translate technical status codes to human-readable messages
  • Create battery level indicators from raw SOC values
  • Generate time-based automation triggers
  • Convert external system states (e.g., "RemoteShutdown" β†’ "System offline!")
  • Combine multiple conditions for complex state logic

πŸ”§ Example

Rule-based Battery Status:

Full Changelog: v0.3.2...v0.3.3