Further splitting into the correct parts

This commit is contained in:
Frank "PHiAX" Weggelaar 2026-01-23 09:43:39 +01:00
parent e68507ccac
commit 58696d94b1
4 changed files with 33 additions and 27 deletions

View file

@ -1,6 +1,14 @@
esp8266:
board: esp01_1m
api:
on_client_connected:
then:
- light.turn_on: blue_led_light
on_client_disconnected:
then:
- light.turn_off: blue_led_light
binary_sensor:
- platform: gpio
pin:
@ -24,6 +32,7 @@ light:
- platform: monochromatic
name: "${friendly_devicename} WiFi LED"
output: blue_led
internal: True
id: blue_led_light
- platform: binary
name: "${friendly_devicename} Licht"

View file

@ -8,7 +8,7 @@ wifi:
domain: .phiax.nl
min_auth_mode: WPA2
ap:
ssid: "${friendly_devicename} Hotspot"
ssid: "${friendly_devicename}"
password: ${hotspotpass}
captive_portal:
@ -16,12 +16,6 @@ captive_portal:
api:
encryption:
key: ${apikey}
on_client_connected:
then:
- light.turn_on: blue_led_light
on_client_disconnected:
then:
- light.turn_off: blue_led_light
ota:
- platform: esphome