Skip to content

v1.3.0

Choose a tag to compare

@Geek-MD Geek-MD released this 01 Oct 16:24
ad3fc63

πŸ†• HA Daily Counter v1.3.0

✨ New Features

  • Multiple triggers support
    • Now counters can be configured with one or more entities as triggers.
    • Each trigger can have its own state to monitor (e.g., on, off, custom).
  • Configurable logic operators
    • Added support for combining multiple triggers with logic:
      • AND β†’ All triggers must be active simultaneously.
      • OR β†’ Any trigger increments the counter.
      • NAND β†’ Counter increments when not all triggers are active.
      • NOR β†’ Counter increments only when none of the triggers are active.
  • Area assignment
    • Counters can now be assigned to an area during setup for better organization.

🐞 Fixes

  • Corrected UI labels:
    • trigger_entity β†’ Entity to Monitor.
    • trigger_state β†’ State to Monitor.
  • Fixed missing translations for configuration dialogs.
  • Ensured available states are properly listed for entities supporting options.
  • Prevented duplicate entities from being selected when adding multiple triggers.

βš™οΈ Services

  • Verified that custom services remain fully compatible:
    • ha_daily_counter.reset_counter
    • ha_daily_counter.set_counter

πŸ“Š Result

Counters can now be configured with complex trigger logic, allowing much more flexibility for advanced Home Assistant automations, while keeping full compatibility with existing setups.