Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on_boot not working #24

Open
ageurtse opened this issue Jan 3, 2023 · 0 comments
Open

on_boot not working #24

ageurtse opened this issue Jan 3, 2023 · 0 comments

Comments

@ageurtse
Copy link

ageurtse commented Jan 3, 2023

i hope you could help me out.

i liked the setup you use for your devices, so i'm tring to replicate it.
Almost everything is working, but the on_boot event isn't fired and there for i don't get my values from my external memory module.

do you now why on_boot isn't working ?

below, a piece of my code from the device i build.

substitutions:
  system_name: 101-test
  friendly_name: Test
  device_description: "Test sensor to see off all paths are right."
  static_ip: 192.168.1.101

packages:
  device: !include devices/d1_mini.yaml

esphome:
  on_boot:
    priority: 800.0
    then:
      - lambda: |-
          readcounters();
          ESP_LOGI(TAG, "on_boot read");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant