substitutions: name: "shys-m5-tough" friendly_name: "M5 Tough" m5_textsensor_id: "m5_textsensor_id" wifi_ssid: !secret wifi_ssid wifi_password: !secret wifi_password packages: smarthomeyourself.m5_tough: url: https://github.com/SmartHome-yourself/m5-tough-touchmenu-for-esphome file: shys-m5-tough-touchmenu.yaml esphome: name: ${name} name_add_mac_suffix: false api: text_sensor: - platform: shys_m5_tough name: "M5 Tough Status" id: m5_textsensor_id init_sound: off login_enabled: on buttons: - x: 10 y: 10 width: 220 height: 150 text: "Carport" - x: 10 y: 160 width: 220 height: 150 text: "Garage"