Skip to content

Pre-Release 0.0.6

Pre-release
Pre-release

Choose a tag to compare

@Screaminlean Screaminlean released this 29 May 03:20

This release focuses on simplifying pin setup, improving pin metadata control, and adding scoped validation for season date fields.

Highlights

  • Setup flow is now cleaner:

    • Only mapped pins marked visible are shown during setup.
    • Hidden/unmapped discovered pins are auto-created as entities, disabled by default.
  • Pin map schema has been improved:

    • Added CSV columns: Type and Hidden.
    • Type now explicitly controls default entity type.
    • Hidden controls whether a mapped pin appears in setup UI.
  • Pin metadata generation is more robust:

    • CSV generator validates and normalizes pin types.
    • Hidden is converted into runtime show_in_ui metadata.
    • pin_map.json is regenerated from the updated schema.

Entity and Config Improvements

  • Added support for per-entity default enable state:
    • Hidden/auto-created entities are registered as disabled by default.
  • Applied this behavior consistently across all entity platforms:
    • sensor, binary_sensor, switch, number, select, button, text.

Numeric and Date Field Updates

  • Updated several mapped pins to better-fit types:
    • Ramp, setpoint, and alarm-style values now use input_number where appropriate.
  • Season start date pins (V20V23) now use input_text for DD/MM values.
  • Added scoped DD/MM validation for those season start date pins:
    • Regex metadata generated only for the matching date pins.
    • Pattern is prefilled in config flow.
    • Runtime text writes enforce the pattern when configured.

Notes

  • Validation is scoped: only pins with an explicit pattern are affected.
  • Existing entities/config entries may need reconfiguration to pick up newly introduced pattern metadata.