pyscript icon indicating copy to clipboard operation
pyscript copied to clipboard

Pyscript adds rich Python scripting to HASS

Results 151 pyscript issues
Sort by recently updated
recently updated
newest added

Introduce code examples for state_active and state_trigger via #625

Another one: 2024-07-15 08:06:25.160 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to walk with args (b'/config/pyscript',) inside the event loop by custom integration 'pyscript' at custom_components/pyscript/__init__.py, line 335: observer.start() (offender: /usr/local/lib/python3.12/site-packages/watchdog/observers/inotify_c.py,...

Today I got the following warning: 2024-07-15 08:06:25.171 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to scandir with args (b'/config/pyscript',) inside the event loop by custom integration 'pyscript' at custom_components/pyscript/__init__.py, line...

While trying to use the recent `master` commit, I encountered this error: ``` 2024-07-16 18:49:41.304 ERROR (MainThread) [custom_components.hacs] Download failed - Got status code 404 when trying to download https://github.com/custom-components/pyscript/releases/download/master/hass-custom-pyscript.zip...

As an example: ```python _state_sensor = 'sensor.office_state' @state_trigger(f""" {_state_sensor} in ['recently occupied', 'unoccupied', 'dormant', 'unavailable'] and (sensor.octoprint_actual_tool0_temp == 'unavailable' or float(sensor.octoprint_actual_tool0_temp)

I'm an AppDaemon user and have been looking into using pyscript instead. One thing I love about AppDaemon is the ability to instantiate an app multiple times with different parameters:...

2024-10-18 19:48:00.532 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'pyscript' accesses hass.components.mqtt. This is deprecated and will stop working in Home Assistant 2025.3, it should be updated to import functions...

Dear, There is now a standard HA integration for jupyter lab. Is it possible to install and use the pyscript jupyter kernel from here ? i run HA on a...

I upgraded to 2024.10 and now I am getting errors loading Pyscript. The error I see in the log says: ``` Logger: homeassistant.config_entries Source: config_entries.py:594 First occurred: 6:58:54 PM (1...

``` 2024-10-11 22:03:31.301 DEBUG (MainThread) [custom_components.pyscript.eval] file.lights-room.lights_room: calling __aexit__(, , object dict can't be used in 'await' expression, , {}) ``` I have matching aiohttp versions, running Python 3.12.4 inside...