I’m not sure the best place to put this. I’m sure its a code problem but I can’t seem to get it working. I removed all components and am working with just the wemos d1 mini, and I’ve tried several of them to ensure that it’s not a bad board. When I upload my code and re-add to HA I the device shows the up arrow, stop square, down arrow, like it should but the open arrow is greyed out.
Here is my code
esphome:
name: "door-test"
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "DoorTest"
password: "DoorTestPassword"
captive_portal:
switch:
- platform: gpio
internal: true
pin: 5
id: relay_open
- platform: gpio
internal: true
pin: 4
id: relay_close
- platform: gpio
internal: true
pin: 14
id: relay_stop
cover:
- platform: template
name: "Garage Door"
open_action:
- switch.turn_on: relay_open
- delay: 1s
- switch.turn_off: relay_open
close_action:
- switch.turn_on: relay_close
- delay: 1s
- switch.turn_off: relay_close
stop_action:
- switch.turn_on: relay_stop
- delay: 1s
- switch.turn_off: relay_stop