Hi
I am used with ESP home dashboard
As you can see i create simple led switch. from the web its work on/off.
The problem - i cant see the switch in the HA services
Why ?
---
esphome:
name: test
platform: ESP8266
board: esp01
# WiFi connection, correct these
# with values for your WiFi.
wifi:
ssid: ****
password: ****
# Enable logging.
logger:
# Enable Home Assistant API.
api:
# Enable over-the-air updates.
ota:
# Enable Web server.
web_server:
port: 80
# Sync time with Home Assistant.
time:
- platform: homeassistant
id: homeassistant_time
# Text sensors with general information.
text_sensor:
# Expose ESPHome version as sensor.
- platform: version
name: LED ESPHome Version
# Expose WiFi information as sensors.
- platform: wifi_info
ip_address:
name: LED IP
ssid:
name: LED SSID
bssid:
name: LED BSSID
# Sensors with general information.
sensor:
# Uptime sensor.
- platform: uptime
name: TEST Uptime
# WiFi Signal sensor.
- platform: wifi_signal
name: TEST WiFi Signal
update_interval: 60s
switch:
- platform: gpio
name: "Living Room Led test"
pin: GPIO2