Description
I am just recently encountering an issue where my code simply doesn't execute. I thought maybe the problem was with my code, so I made the simplest code possible:
@service
def logging_test():
log.warning("The code executed")
I then tested it by running it from Developer Tools > Actions and entered:
"Pyscript Python scripting: logging_test"
However, when I ran it, I didn't see the message "The code executed"
2025-01-29 21:54:28.234 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Running websocket_api script
2025-01-29 21:54:28.239 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Executing step call service
These are the only 2 messages that appear in the logs after I execute the code. There is no mention of the code getting executed. I have already reinstalled Pyscript and restarted my server, but the problem persists.
System Information:
Pyscript version 1.6.1
Home Assistant version 2025.1.4