Gibbz
(Bronson)
1
I cant get a command line notification working…
From my configuration.yaml
notify:
- name: gate_alarm
platform: command_line
command: "notify-send 'Applications' 'Install completed'"
- name: say_test
platform: command_line
command: espeak "test alert"
When i try to trigger notify.say_test it says the service is not found… Restarting HA doesnt help either…
Gibbz
(Bronson)
2
I’ve also tried the following. However these do not show in the services list either…
shell_command:
test: touch ~/restart.txt
gate_alarm: notify-send 'Applications' 'Install completed'
nickrout
(Nick Rout)
3
Do you have espeak installed?
Gibbz
(Bronson)
4
I found I was editing the wrong config as the service was run as a different user!