pyscript icon indicating copy to clipboard operation
pyscript copied to clipboard

Pyscript adds rich Python scripting to HASS

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

pyscript Version 1.3.3 homeassistant Version 2022.6.7 on hassio on Raspberry Pi When i set state_hold to a value != None, then kwargs will not be set correctly in a @state_trigger....

HA has a Jupyter addon (jupyter lite) that can run the `pyscript` kernel right from within HA. One complication is the location of `pyscript.conf` which is overwritten whenever the docker...

Hi I was trying to make a list of times for the @time_trigger which i could easily change with another function. So for example instead of writing `@time_trigger("once(17:15:05)","once(16:00:00)","once(08:35:45)")` i would...

Very new to all of this, but I am trying to use a python script to interact with an api to translate some text. My code is: ```python from google_trans_new...

Hey there, thank you for working on this add-on, I really enjoying working on automations using this platform. Just wanted to put it out there that I managed to get...

i used HACS to add pyscript and a new folder appeared in custom_components. Instructions then say to go to the other integrations and add pyscript. But I can't. it doesn't...

I dont know if this is easily achievable, but i think it would provide useful, if functions could be triggered via a webhook, just like native automations. Sometimes the data...

I am trying to create entities inside home assistant I am utilizing the following `def create_entity(entity_type,name,new_attributes,value=None): state.set(f"{entity_type}.{name}", value, new_attributes)` It does indeed create the entity but when I try and...

Hi, I'm using some classes inside my pyscripts. I stumbled across a weird behavior when trying to define the `__eq__` in one of my classes. Here's a mockup class which...

Whilst trying to make a battery sensor, I stumbled on some very strange behaviour (I'm doing this in a Jupyter notebook using https://github.com/craigbarratt/hass-pyscript-jupyter). The script at the top should return...