Skip to content

[FEATURE] Dynamic Mower Dropdown Selector #288

Description

@WhyLev

Replace the manual text input for mower_serial with a dynamic dropdown selector in all integration services to eliminate typos and improve user experience.

Technical Changes

Update services.yaml: Change the mower_serial selector from text to select with a dropdown mode:

  • Rename Label: Change the UI field name from "Serialnumber" to "Mower".
  • Backward Compatibility: Keeping custom_value: true ensures existing YAML automations, scripts, and manual testing still work perfectly.
  • Fallback Logic: Retain the existing find_instance_for_mower_service_call() behavior (automatically targets the single mower if only one is configured).

Key Benefits

  • Zero Typos: Completely eliminates 16-character entry errors.
  • Multi-Mower Friendly: Instantly lists all available mowers instead of forcing users to look up serial numbers.
  • Native UX: Aligns perfectly with Home Assistant's modern UI patterns.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions