esphome: api: reboot_timeout: 0s substitutions: mqtt_root_topic: !secret mqtt_root_topic mqtt: broker: !secret mqtt_broker port: !secret mqtt_port username: !secret mqtt_username password: !secret mqtt_password discover_ip: False discovery: false discovery_retain: false log_topic: null topic_prefix: ${mqtt_root_topic}/${devicename} # birth_message: # topic: ${mqtt_root_topic}/${devicename}/availability # payload: online # will_message: # topic: ${mqtt_root_topic}/${devicename}/availability # payload: offline # shutdown_message: # topic: ${mqtt_root_topic}/${devicename}/availability # payload: shutdown