Skip to content

0.5.0 - Ability to configure & click entities for more-info, toggle, navigate, etc. πŸ—œοΈ 🌡

Choose a tag to compare

@github-actions github-actions released this 03 Feb 01:54

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 dialog
  • navigate - Navigate to a different view
  • toggle - Toggle entity state
  • call-service - Call a service
  • none - 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-details

Full Changelog: 0.4.0...0.5.0