esphome:
name: genio22
platform: ESP8266
board: esp01_1m
on_boot:
priority: 100
then:
- light.turn_on: genio22
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "genio22 Fallback Hotspot"
password: !secret wifi_password
logger:
api:
encryption:
key: !secret ha_encrypt_password
ota:
password: !secret esp_ota_password
web_server:
port: 80
sensor:
- platform: wifi_signal
name: "genio22 WiFi Signal"
update_interval: 60s
switch:
- platform: restart
name: "genio22 Restart"
output:
- platform: esp8266_pwm
pin: 14
frequency: 1000 Hz
id: pwm_output
light:
- platform: monochromatic
name: "genio22 Light"
output: pwm_output
id: genio22