Comments (10)
Please attach debug log https://github.com/bieniu/ha-shellies-discovery#how-to-debug
Only English is allowed in the issue description. Please edit the content.
from ha-shellies-discovery.
content edited but the french part was from the HA Logs
debucg log launched
from ha-shellies-discovery.
this ?
Logger: homeassistant.components.automation.shellies_discovery
Source: components/python_script/init.py:153
Integration: Automatisation (documentation, issues)
First occurred: 15:00:00 (2 occurrences)
Last logged: 15:00:00
Shellies Discovery: Error executing script. Unexpected error for call_service at pos 1: AST constructor recursion depth mismatch (before=33, after=61)
While executing automation automation.shellies_discovery
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 703, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 665, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 1965, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2013, in _execute_service
return await self._hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/python_script/init.py", line 112, in python_script_service_handler
execute_script(hass, call.service, call.data)
File "/usr/src/homeassistant/homeassistant/components/python_script/init.py", line 146, in execute_script
execute(hass, filename, source, data)
File "/usr/src/homeassistant/homeassistant/components/python_script/init.py", line 153, in execute
compiled = compile_restricted_exec(source, filename=filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/RestrictedPython/compile.py", line 87, in compile_restricted_exec
return _compile_restricted_mode(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/RestrictedPython/compile.py", line 52, in _compile_restricted_mode
c_ast = ast.parse(source, filename, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: AST constructor recursion depth mismatch (before=33, after=61)
from ha-shellies-discovery.
This is not a log file.
from ha-shellies-discovery.
Please show me a content of /config/python_scripts/shellies_discovery.py
file (screenshot of the beginning of the file).
from ha-shellies-discovery.
This is not a log file.
where to find the log ?
here the screenshot
from ha-shellies-discovery.
here the logfile
home-assistant.log
from ha-shellies-discovery.
I think this is not related to the script. Look here home-assistant/core#95364
from ha-shellies-discovery.
Same here
from ha-shellies-discovery.
This is not related to the script.
from ha-shellies-discovery.
Related Issues (20)
- Improve sensor templates
- Remove Wh -> kWh conversion
- Devices naming similar to Native Shelly Addon HOT 1
- Feature request: add long- and shortpush sensors again please HOT 5
- Support for SHCB-1 (Shelly Bulb RGBW GU10) HOT 11
- Shelly Door/Window 2 always show up as unavaliable after a restart of home assistant HOT 1
- Please add support for Shelly 3EM sensors when using the optional neutral current transformer
- Info: "mqtt":disabled? HOT 4
- discovering shelly devices HOT 3
- Shelly UNI second binary input is not mapped
- Invalid event type error in logs HOT 1
- Invalid event type with latest version HOT 4
- TRV - Mapping valve_min_report and calculation of Idle/Heating mode HOT 10
- error: The device name prefix will be stripped... HOT 2
- Shelly Gen1 is not discovered correctly HOT 3
- Entities become unavailable when the battery-powered device goes to sleep with firmware 1.1.0
- Shelly UNI "ext_" parameters implementation to sensor HA block (entity) HOT 2
- Problem with Shelly Dimmer and MQTT connection flag. HOT 4
- Shelly Plus2PM announces with changed attributes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-shellies-discovery.