Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Calling a service

$
0
0

@D4VEW557 wrote:

Hi all,

I’m having an issue creating a button to call a service.

I want to toggle an input select, it works fine from the services section of the developer tools but not from the button.

My code is as follows. I sure this is very simple but I can’t figure it out.

> 
> type: entity-button
> tap_action:
>    action: call-service
>    service: input_select.select_next
>    Data:
>      entity_id: input_select.floorplan_floor
>  show_icon: true
>  show_name: true
>  entity: input_select.floorplan_floor

Thanks Guys.

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>