Wear OS button?

All I want is one button on my watch that will set my Sony Bravia TV to HDMI4 when pressed. Is there a way to do that? My Sony Bravia TV shows up in Home Assistant. I have an issue where sometimes when I use my nVidia Shield Remote to power everything on, the TV forgets (even though I NEVER use another input) that it should be on HDMI4, and I have to get out the other remote and change the input. Now, I can at least go into home assistant on my pc or phone and sometimes figure out how to press a button to do it, but what about getting that button in Wear OS? Any thoughts?

on the Wear OS app you can either setup a shortcut tile for that button or add that entity to your favorites list and use it

Thank you, now Iā€™ll just have to figure out how to get that button out of the Bravia integration, right now it does not show up, but it seems to be an option if the TV is on. Then I should be good.

I think Iā€™m pretty close here, I was able to create a button on my homepage to send the Hdmi4 remote command to the TV. Now I just canā€™t seem to figure out how to make a shortcut to the same command or mark it as a favorite, it seems you can really only link to entities in a tile or shortcut?

Settings > companion app > wear OS > favorites or from the watch directly scroll all the way down to settings in the HA app and set favorites there.

If you do not see the wear OS option in the phone app, then please update the HA app in the play store

Yeah i found where to make shortcuts and tiles, but I can only select the entity, which doesnt really help. Unless Iā€™m missing some missing link here. All I really want to be able to do is create a button on a tile that sends the hdmi4 command to the entity. But it seems like what it is more for is just being able to access an entity?

the shortcuts tile only turns on and off like a toggle, didnā€™t you say you created a button entity? once added to the tile you should be able to click on it to execute the button.press service call

ok may have given an inaccurate statement. I created a dashboard card to do the call service. Iā€™m not super familiar on creating a custom button. Sounds like that is the piece iā€™m missing. Figure out how to create a custom button, then iā€™ll be able to create a shortcut to that button?

convert your service call to a script and then add the script to the tile :slight_smile:

1 Like

thanks I will look at this!

this works! thanks a ton!

1 Like

Hi, can you please help a newbie too? I have the script, but what do you mean by ā€œadd the script to the tileā€. What tile? do you mean lovelace card? i already have this and works as a button to open my smartlock. what i want is to have this button also on wear os and cant figure out how to do it. Like ejkeebler said in the wear os app (and the phone app settings) i can only choose entitiesā€¦ i couldnt figure out the shortcuts. many thanks!

Wear OS feature Get info and do tasks on your watch quickly - Wear OS by Google Help

ok thanks. i understand. but i can only create a home assistant tile based on the favorites list, which are based on entities. so i still dont understand and know how to add the script into a tile. Coul you please kindly explain me step by step? :smiley:

i created this script:

alias: Front-Door
sequence:
  - service: lock.open
    data: {}
    target:
      entity_id: lock.nuki_white_lock
mode: single
icon: mdi:door

how do i get it into the tile?

Open the app on the watch. Scroll down to settings, select shortcut tile and add the entity from there

Iā€™m reading and googling for days, I know Iā€™m close but I can not figure it out. I want to display an entity under favorite in Wear os. on both my phone and or Wear OS.
On the phone, I select Companion App, Wear OS Settings, (It finds the watch) then I select Favorite entities, I get a screen "Select your favorite ā€¦) I add Favorite like Favorite but nothing else happen, Iā€™m not able to see or select an entity.
Thanks for the help.

go to the companion app logs and check for any errors, there is probably an error if we are unable to load your entities. I assume you do not see any entities listed in other screens like device controls or android auto?

Thanks for the quick reply, I will check when I get home. Iā€™m new to home assistant, I can see entities that I have currently setup in the dashboard like scale weight and etc. These devices are not controllable, could it be it?

I will update you asap when I check the log.

things you see in the dashboard are unrelated to entities retrieved via the API call

On Wear OS the only available entities are the ones you can control

Here is a list of supported domains https://companion.home-assistant.io/docs/wear-os/#home-screen

you probably got presented with a message on teh home screen about no supported entities when loading the app on your watch?

To be honest with you, I do not remember getting prompt about not supported entities. Today I have installed the ecobee plugin, I can see it under the droid auto and of course the dashboard but not in the wear os or companion. Thanks for the continue help with this.