Home Assistant 2022.10.5 Supervisor 2022.10.2
Operating System 9.3 Frontend 20221010.0 - latest
running haos_generic-aarch64-9.3.qcow2 virtual machine under ubuntu-aarch64 (Cheap TV box). Host mqtt.
I am concerned regarding the data corruption danger of shutting down my haos virtual machine and want to do it automatically / cleanly as part of ubuntu host shutdown service, especially if using a SD card. My research indicates I can use an mqtt message.
Here is the command (from virtual machine host - ubuntu) that is ignored:
mosquitto_pub -t /homeassistant/hassio -m “hassio.host_shutdown” -u <mqtt_userID> -P <mqtt_password> -h localhost
I believe all is correct except the topic (-t). What is correct topic?
bonus: is there a list of valid HA control messages such as “hassio.host_reboot”?