Hacker GitHub

← All repos

custom-components/pyscript

View on GitHub ↗ ★ 1,194 Python

Pyscript adds rich Python scripting to HASS

7 mentions on Hacker News by 5 people: 0 stories, 7 comments · first 2020-11-23 · latest 2024-01-14

Mentions per year 7 mentions · busiest year 2021 (2)
20082026
  1. …who has more than enough self-proclaimed skills, this should be a very understandable system. [0] https://github.com/custom-components/pyscript [1] https://www.home-assistant.io/docs/ [2] https://developers.home-assistant.io/
  2. …unfortunate, but enables most of the magic of PyScript which otherwise would not be practical. [1] https://github.com/custom-components/pyscript/blob/master/cu...
    comment by dingledork69 · 2023-06-05 · in I wrote my own smart home software
  3. Pyscript adds rich Python scripting to HASS : https://github.com/custom-components/pyscript An example script: @state_trigger("security.rear_motion == '1' or security.side_motion == '1'") @time_active("range(sunset - 20min, sunrise +…
    comment by dingledork69 · 2023-06-05 · in I wrote my own smart home software
  4. …Assistant Python: https://www.home-assistant.io/integrations/python_script/ No imports. pyscript: https://github.com/custom-components/pyscript Full python. Supports Jupyter. Straightforward. AppDaemon:…
    comment by nomel · 2022-02-02 · in Run Your Home on a Raspberry Pi
  5. You can try pyscript ( https://github.com/custom-components/pyscript ), which allows you to write automations in plain Python.
    comment by Denvercoder9 · 2021-09-16 · in Home Assistant – open-source home automation
  6. You can try pyscript ( https://github.com/custom-components/pyscript ), which allows you to write automations in plain Python.
    comment by Denvercoder9 · 2021-09-16 · in Home Assistant – open-source home automation
  7. …automations in Python. The docs have a bunch of nice examples that give you an idea how it looks. https://github.com/custom-components/pyscript https://hacs-pyscript.readthedocs.io/en/stable/tutorial.html...