0.5.0 - Ability to configure & click entities for more-info, toggle, navigate, etc. ποΈ π΅
Thanks for the support, everyone!! Star the GH repo if you haven't had a chance to yet!
Sensor Click Interactions
New Feature: Configurable Sensor Actions
Sensors in the PetKit Device Card are now clickable! By default, clicking a sensor will open the more-info dialog, making it easy to view detailed information about any sensor.
What's New
- Clickable Sensors: All sensors, controls, and diagnostic entities are now interactive
- Default Action: Tap or hold any sensor to open the more-info dialog (default behavior)
- Configurable Actions: Customize tap, hold, and double-tap actions through the card editor
- Visual Feedback: Row elements now show a pointer cursor to indicate they're clickable
Configuration
You can configure sensor actions in the card editor under the "Interactions" section:
- Tap Action: Action performed when tapping a sensor (default: more-info)
- Hold Action: Action performed when holding a sensor (default: more-info)
- Double Tap Action: Action performed when double-tapping a sensor (optional)
Available actions include:
more-info- Show entity details dialognavigate- Navigate to a different viewtoggle- Toggle entity statecall-service- Call a servicenone- Disable the action
Example Configuration
type: custom:petkit-device-card
device_id: petkit_feeder_123
tap_action:
action: more-info
hold_action:
action: navigate
navigation_path: /lovelace/petkit-detailsFull Changelog: 0.4.0...0.5.0