MallocArray / airgradient_esphome

ESPHome definition for an AirGradient DIY device to send data to HomeAssistant and AirGradient servers
GNU General Public License v3.0
248 stars 43 forks source link

ESP Home 2024.6.0 ota change #71

Closed NathanTheGr8 closed 4 months ago

NathanTheGr8 commented 4 months ago

I am trying to use this to install an AG One with ESP 2024.6.0 on HA. I am getting errors when trying to prepare the config for install.

I think the platform section requires ` ota:

like described here.

After fixing that I get this error when preparing. Not sure what to do about it. ` INFO ESPHome 2024.6.6 INFO Reading configuration /config/esphome/ag-one-basement.yaml... Failed config

esphome: None name: ag-one-basement friendly_name: AG One Basement name_add_mac_suffix: False project: name: mallocarray.airgradient version: 2.0.1 min_version: 2023.12.0 on_boot:

MallocArray commented 4 months ago

Looks like you are using an older version of the config file and repo. Both of these were addressed 2 weeks ago, so please compare your main config file to the one in this repo. It is labeled 2.0.5 but should have been incremented.

NathanTheGr8 commented 4 months ago

I was coping the config from "full_config/ag-one.yaml" using the https://github.com/MallocArray/airgradient_esphome/tree/main?tab=readme-ov-file#full-yaml-file method. Were these configs not updated?

MallocArray commented 4 months ago

Ah, that is on me. I pushed the new version of the individual files but hadn't regenerated a full config, since that happens after the other files are updated.

I'm just about to release a major new version and will take care of it then, as I don't think I can easily generate a new one with my in-progress work

MallocArray commented 4 months ago

Updated full configs with latest changes