I have experimented with shell_command / rest_command unsuccessfully.
They don’t return errors but can’t manage to open the default browser on the device where the command is issued.
Assuming this is a script, you should use uppercase THIS. Moreover, if this is triggered by an automation or some other script without any browser, this might fail as there is no browser context on these use cases.
I did test with “THIS” expecting the browser to open on all registered browsers but nothing happens at all…
unless you have other ideas I guess I’ll have to wait for the developer on this one…
alias: URL call
sequence:
- service: browser_mod.navigate
data:
path: http://www.google.com
target:
device_id: THIS
mode: single
I am a bit confused, let’s go back to initial ask, you want to implement a service to open a browser page with a specific address on a registered device, right?