im looking at setting up some control from my watch so I was going to start adding a button that turns my webOS tv on and off which ive got to adding the app on the watch and added the button but thats it - I see maybe a need a automation to create the button action is this correct ?
yes you need a automation the actionName must match the name on the app action this will toogle my bedroom light
you can also set up one to turn on tv and one to turn off i hope this will help
id: 6668e80alllights
- alias: bedroom watch
initial_state: true
trigger:
platform: event
event_type: ios.action_fired
event_data:
actionName: Bedroom
action:
service: light.toggle
entity_id: light.bedroom