esphome:
name: mirabella_1
platform: ESP8266
board: esp01_1m
on_boot:
priority: 100
then:
- light.turn_on: light
wifi:
ssid: "sid"
password: "wifi_password"
ap:
ssid: "mirabella1"
password: "ap_password"
domain: ".mydomain.com"
logger:
api:
encryption:
key: !secret encryption_key
ota:
password: "ota_password"
web_server:
port: 80
sensor:
- platform: wifi_signal
name: "Mirabella 1 WiFi Signal"
update_interval: 60s
switch:
- platform: restart
name: "Mirabella 1 Restart"
output:
- platform: esp8266_pwm
id: output1
pin: GPIO5
light:
- platform: monochromatic
name: "Mirabella_1 Light"
output: output1
id: light