Code Monkey home page Code Monkey logo

Comments (5)

ssieb avatar ssieb commented on July 21, 2024

Try doing a clean build.

from esphome_components.

bernhardroth3 avatar bernhardroth3 commented on July 21, 2024

Thats in ESPHJome "Clean build files" then rebuild, right? I have done that with the same results.

from esphome_components.

bernhardroth3 avatar bernhardroth3 commented on July 21, 2024

For good measure I did it again and send the latest log attached.

logs_magic-switch-01_run.txt

I use the latest versions of all subsystems:
ESPHome 2023.12.9

HA versions:
Core 2024.2.1
Supervisor 2024.01.1
Operating System 11.5
Frontend 20240207.1

from esphome_components.

ssieb avatar ssieb commented on July 21, 2024

It looks like you have two copies somehow. Try deleting that build directory or re-install the addon.

from esphome_components.

bernhardroth3 avatar bernhardroth3 commented on July 21, 2024

OK. Found the problem.
I indeed had multiple files inside the ESPHome docker container from earlier attempts to have all files local.
Those attempts failed because the editor validator in ESPHome suddenly did not recognize the new magic-switch directive and I went back to referencing the Github repo. From the HA container it looked all was cleared but it was not in ESPHome.

I certainly learned a bit about the inner workings of ESPHome and where to look if there is an issue.
Nothing for the faint hearted though :-)

Thank you very much for your help and the great work you do for the HA and ESPHome community.

from esphome_components.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.