As the title says, i have tried mqtt and also native api and trying to ensure that if my esp board loses power then the led strip maintains the same “on” and “colour” value as previously set.
Can esphome “read” the values in HA and set it to the current value if so how?
This is my device config:
esphomeyaml:
name: ledstrip01
platform: ESP8266
board: d1_mini
wifi:
ssid: 'MYWIFI'
password: 'MYCODE'
# Example configuration entry
mqtt:
broker: 192.168.1.101
username: mqttuser
password: mqttpassword
# Enable logging
logger:
# Enable Home Assistant API
#api:
ota:
light:
- platform: fastled_spi
chipset: LPD8806
data_pin: GPIO12
clock_pin: GPIO14
num_leds: 94
rgb_order: BRG
name: "ledstrip01"
Thanks
Mark