benleb / ad-automoli

πŸ’‘ Fully automatic light management based on conditions like motion, illuminance, humidity, and other clever features
https://github.com/benleb/ad-automoli
MIT License
110 stars 29 forks source link

AttributeError #81

Closed mon3y78 closed 3 years ago

mon3y78 commented 3 years ago

i have this error

AttributeError: 'AutoMoLi' object has no attribute 'room' 2021-07-25 10:40:32.635202 WARNING camera_weekend: ------------------------------------------------------------ 2021-07-25 10:40:32.642195 INFO cucina:
2021-07-25 10:40:32.643475 WARNING cucina: ------------------------------------------------------------ 2021-07-25 10:40:32.644476 WARNING cucina: Unexpected error running initialize() for cucina 2021-07-25 10:40:32.645597 WARNING cucina: ------------------------------------------------------------ 2021-07-25 10:40:32.646922 WARNING cucina: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/appdaemon/app_management.py", line 159, in initialize_app await init() File "/config/appdaemon/apps/ad-automoli/automoli.py", line 215, in initialize self.lg("") File "/config/appdaemon/apps/ad-automoli/automoli.py", line 163, in lg name=self.room.name.capitalize(), # type:ignore

😩 Describe the issue/bug A clear and concise description of what the bug is.

πŸ˜’ Expected behavior A clear and concise description of what you expected to happen.

πŸŽ›οΈ Configuration

[relevant configuration from your apps.yml file]

🧠 System

πŸ—’οΈ Logs

log log log...

🧁 Additional context Add any other context about the problem here.

benleb commented 3 years ago

Thanks, my fault πŸ™„ Fixed in the master now :) release follows soon...

mon3y78 commented 3 years ago

thanks, now work!