Git Product home page Git Product logo

Comments (5)

AlexxIT avatar AlexxIT commented on August 15, 2024

Next HassWP release will have special runner. It can run any Hass version without patches.

from hasswp.

dcoder42 avatar dcoder42 commented on August 15, 2024

Interesting. How is this going to work? WSL?

from hasswp.

AlexxIT avatar AlexxIT commented on August 15, 2024

Check it. You can join the development, if you wish. python -m hass_win

https://github.com/AlexxIT/HassWP/blob/master/hass_win/__main__.py

from hasswp.

dcoder42 avatar dcoder42 commented on August 15, 2024

Nice! I didn't know that it's possible to override function calls in python. I tried your launcher and it started nicely but i failed to run the configuration process in the Web UI. This reverted commit is needed on my machine:
home-assistant/core@64bcd60

I added the following to your launcher and i was able to finish the setup process:

import mimetypes
mimetypes.add_type("text/css", ".css")
mimetypes.add_type("application/javascript", ".js")

I think the reverted ping sensor and wake_on_lan workarounds might also need some additional code in your launcher:
home-assistant/core@0fa4f61
home-assistant/core@abce453

Not sure what is actually required by this revert:
home-assistant/core@b3421cf

What does the following actually fix?

dt.get_time_zone = lambda _: dt.DEFAULT_TIME_ZONE

I remember i had issues with my own python environment to finish the Home Assistant configuration process because of a timezone error but i think i fixed this by installing the tzdata package.

from hasswp.

AlexxIT avatar AlexxIT commented on August 15, 2024

Interesting. I don't have problems with mimetypes.

For wake_on_lan it may be easier to use old version with custom_component.

get_time_zone fail on first Hass setup.

from hasswp.

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.