substitutions: # Modify variables based on your settings hostname: "test-wemos" devicename: test-wemos esphome: name: test-wemos friendly_name: test_wemos esp8266: board: esp01_1m # Enable logging logger: # Enable Home Assistant API api: encryption: key: "qEOA6hQaiz2eGOGyScJtwC7gGa1XyJEjw3qDShi529U=" ota: - platform: esphome password: "95d41c6e935db2827ae63c2afeafec40" wifi: ssid: 'SmartHome' password: '' use_address: 192.168.88.29 manual_ip: static_ip: 192.168.88.29 gateway: 192.168.88.1 subnet: 255.255.255.0 power_save_mode: none captive_portal: sensor: switch: - platform: gpio name: switch id: switch_output1 pin: GPIO4 inverted: True restore_mode: ALWAYS_OFF - platform: restart name: ${devicename} restart web_server: port: 80 auth: username: "silver" password: "cbvgcjy0"