Need help with turning on an entity by adding icons #853
-
|
I am trying to add an icon which when clicked turns on an icons:
- icon: mdi:wrench
tap_action:
action: homeassistant.turn_on
target:
entity_id: input_boolean.staubsauger_wartungicons:
- icon: mdi:wrench
tap_action:
action: perform-action
perform_action: homeassistant.turn_on
target:
entity_id: input_boolean.staubsauger_wartungicons:
- icon: mdi:wrench
service_call_schema:
service: homeassistant.turn_on
target:
entity_id: input_boolean.staubsauger_wartungWhen I run the same code in the developer console it works as expected action: homeassistant.turn_off
target:
entity_id: input_boolean.staubsauger_wartung
data: {}I also built a normal button in the dashboard that works as expected type: button
entity: switch.testing
tap_action:
action: perform-action
perform_action: homeassistant.turn_on
target:
entity_id: input_boolean.staubsauger_wartungIs there something I am missing? |
Beta Was this translation helpful? Give feedback.
Answered by
felixschndr
Aug 3, 2025
Replies: 1 comment
-
|
Solved it: icons:
- icon: mdi:wrench
tap_action:
action: call-service
service: homeassistant.turn_on
target:
entity_id: input_boolean.staubsauger_wartung |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
felixschndr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved it: