kalkih / mini-graph-card

Minimalistic graph card for Home Assistant Lovelace UI
MIT License
2.89k stars 233 forks source link

CAnnot seem to get tap_action to work. #975

Closed bert269 closed 1 year ago

bert269 commented 1 year ago

I defined a graph with mini-card and it works fine. What I need to do is when click/tap upon, I need the entity to appear, to change the temperature. This is for a Google Nest thermostat. The entitiy id to control the temo is called: climate.entryway The sensor (for the graph display) is called: sensor.entryway_temperature

The graph displays fine, but when I click on the graph , nothing happens. This is the code I use: image

I tried action: more-info with entity: climate.entryway - same result. I also tried action: call-service with service (or service_data): climate.entryway - nothing is displayed either.

Thank you

bert269 commented 1 year ago

Update: My mistake - I appologize. Typo in code (no '-' before action and service-date.

It worked with: action: more-info entity: climate.entryway

Thank you

bert269 commented 1 year ago

Please close - no issue.

ildar170975 commented 1 year ago
  1. Please do not post images of a code, post a formatted code (wrapped in triple "`").
  2. Refer to Docs, a syntax for your tap_action part is wrong, must be a dictionary instead of a list.