#Access home assistant function from Linux command line

1 messages · Page 1 of 1 (latest)

next horizon
#

If I wanted to 'press' a "button" in home assistant from the Ubuntu or Debian command line how might I do that? The button is button.dev_safe_mode_button

Larger context
My esp code is so large that the D1 mini is running low on ram and OTA in ESPHome fails unless it's in safe mode prior to OTA updating. I develop in vscode so compiling and uploading could easily be done via a bash script, but first I have to get the esp into safe mode.