I have an input_number Helper in Home Assistant and I want to use that value in a ESPHome ESP32 device. Everything I find online indicates that this is doable, but I can’t get it too work.
Here’s the entry I’m using in the ESPhome configuration. The HA Helper is called input_number.drain_time.
/data/cache/platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld:
/data/eh-temp/.pioenvs/eh-temp/src/main.o:(.literal._Z5setupv+0xbc): undefined reference to `vtable for esphome::homeassistant::HomeassistantSensor'
Any help getting this to work would be appreciated. thanks
I found the fix. I had to do a Clean Build Files and then recompile. All good now. That command is under the device menu (…) on the ESPHome screen.
In case your interested here’s a piece of the device’s yaml showing how I’m using an input_number Helper from Home Assistant, assigning it’s value to a global and then using the global in a delay via a Lambda. kind of cool and it works.