nathan-gs / ha-map-card

A Map Card for Home Assistant
https://community.home-assistant.io/t/map-card-a-slightly-improved-map-card/693088
MIT License
15 stars 4 forks source link

Custom actions. #65

Closed thybag closed 2 weeks ago

thybag commented 3 weeks ago

Allows tap actions be defined for entities.

Defined along lines of

  - entity: person.someone
    tap_action:
      action: navigate
      navigation_path: /a/location

Key changes

The change should support all the possible custom card actions defined in https://developers.home-assistant.io/blog/2023/07/07/action-event-custom-cards/ with the exception of toggle as I don't think it is relevant to person/trackers.

fixes: https://github.com/nathan-gs/ha-map-card/issues/19