Hard to find a good topic (short) for this one. I have an esp8266 controlling an IKEA ansluta light in my kitchen. The Light entity becomes unavailable suddenly and the only thing I’ve been able to do to get it back up and running has been to remove the integration and add it again (that is, this individual Device). Restarting the ESP (even power cycling) or home assitant does not do anything. All other entities under the same device work fine besides the light in Home Assistant. If I go to the web interface of the device the light works well there.
substitutions:
device_name: ikea-ansluta-bridge
esphome:
name: $device_name
platform: ESP8266
board: esp01_1m
logger:
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "Ikea-Ansluta-Bridge"
password: ****
domain: .lan
captive_portal:
web_server:
port: 80
spi:
clk_pin: GPIO14
miso_pin: GPIO12
mosi_pin: GPIO13
# https://github.com/torrottum/ikea-ansluta-esphome
ikea_ansluta:
cs_pin: GPIO15
light:
- platform: ikea_ansluta
name: 'Kitchen IKEA Ansluta'
remote_address: 0x57e5
button:
- platform: restart
name: $device_name Restart
sensor:
- platform: uptime
name: ${device_name} Uptime
# WiFi Signal sensor.
- platform: wifi_signal
name: ${device_name} WiFi Signal
update_interval: 60s