Comments (3)
Please have a look AT issue #130 a workaround is avail able.
from hasmartirrigation.
Hi Jeroen,
Same issue for me.
Here's the log:
This error originated from a custom integration.
Logger: homeassistant.loader
Source: custom_components/smart_irrigation/sensor.py:124
Integration: Smart Irrigation (documentation, issues)
First occurred: June 9, 2023 at 15:47:21 (8 occurrences)
Last logged: 09:41:37
Unexpected exception importing platform custom_components.smart_irrigation.sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/smart_irrigation/sensor.py", line 102, in
class SmartIrrigationSensor(SmartIrrigationEntity):
File "/config/custom_components/smart_irrigation/sensor.py", line 124, in SmartIrrigationSensor
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'
from hasmartirrigation.
Just replace in custom_components/smart_irrigation/sensor.py:124 line
@asyncio.coroutine
with
#@asyncio.coroutine
Hi Jeroen, Same issue for me. Here's the log:
This error originated from a custom integration.
Logger: homeassistant.loader Source: custom_components/smart_irrigation/sensor.py:124 Integration: Smart Irrigation (documentation, issues) First occurred: June 9, 2023 at 15:47:21 (8 occurrences) Last logged: 09:41:37
Unexpected exception importing platform custom_components.smart_irrigation.sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform cache[full_name] = self._import_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1206, in _gcd_import File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/config/custom_components/smart_irrigation/sensor.py", line 102, in class SmartIrrigationSensor(SmartIrrigationEntity): File "/config/custom_components/smart_irrigation/sensor.py", line 124, in SmartIrrigationSensor @asyncio.coroutine ^^^^^^^^^^^^^^^^^ AttributeError: module 'asyncio' has no attribute 'coroutine'
Hi,
Just replace in custom_components/smart_irrigation/sensor.py:124 line
@asyncio.coroutine
with
#@asyncio.coroutine
from hasmartirrigation.
Related Issues (20)
- [Bug] Does Not have Valid key in Manifest file HOT 1
- [Bug] Detected integration that accesses the `is_metric` property of the unit system HOT 1
- [Bug] OpenWeather API calls return an error 401 HOT 5
- [REQ] CLI usage outside HA HOT 1
- [REQ] Evapotranspiration data source for Portugal HOT 1
- [Bug] Precipitation calculation for daily art.
- [REQ] Update DART multiple times a day
- [Bug] Warning for self.async_update_ha_state(), without enabling force_update HOT 1
- PyEto replacement HOT 3
- [Bug] HOT 3
- [Bug] no smart_irrigation_start service event HOT 1
- [Bug] Integration stopped working with 2023.6.0b0 HOT 7
- I seem to miss it but where do we update our ET values after initial boot? HOT 4
- [Bug] module 'asyncio' has no attribute 'coroutine' HOT 3
- [Bug] HOT 5
- _start event fires on sunrise not including run time HOT 1
- _start event fires multiple times HOT 1
- smart_irrigation_start not fired HOT 24
- Adjustment of number of sprinklers, flow rate and area 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 hasmartirrigation.