esphome: name: dht11sensor friendly_name: DHT11Sensor esp8266: board: esp01_1m # Enable logging logger: # Enable Home Assistant API api: encryption: key: "+t+IODNRTMX2AkJZyOGjmC+WBcwwmJ874iIhJVGKHuI=" ota: password: "0377f5a51e4dd7dd46399327b569a261" wifi: ssid: !secret wifi_ssid password: !secret wifi_password # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Dht11Sensor Fallback Hotspot" password: "sCzNkwVVxOLP" captive_portal: sensor: - platform: dht pin: GPIO12 temperature: name: "Room Temperature" humidity: name: "Room Humidity" update_interval: 15s light: - platform: binary name: "LED 1" output: light_output output: - id: light_output platform: gpio pin: GPIO14 binary_sensor: - platform: gpio pin: GPIO10 name: "Motion Sensor PIR" device_class: motion