Closed bogdanr closed 2 years ago
Do you have the time:
section defined in your .yaml file? homeassistant_time
is defined there. You can see it by following the link below.
I tried to recompile my code to check on this issue. However, I am running into an unrelated error already reported to to the ESPHome project.
The error you are reporting is consistent with an undeclared time object.
I stumbled upon the same issue. Downgrading the framework version works for me (for the time being):
esp8266:
board: esp01_1m
framework:
version: 2.7.4
I recorded the fix on the ESPHome issue but forgot to report back here. The fix to irrigation.h (d30fa4f) was only committed a few days ago due to a problem with my desktop github config (which has now also been resolved).
Here are the steps I used to correct this issue:
Trying to compile this code in the latest esphome produces some errors such as these: