Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on load #13

Open
riddik14 opened this issue Nov 1, 2021 · 1 comment
Open

error on load #13

riddik14 opened this issue Nov 1, 2021 · 1 comment

Comments

@riddik14
Copy link

riddik14 commented Nov 1, 2021

2021-11-01 12:40:04.952856 WARNING notifreeze: ------------------------------------------------------------
2021-11-01 12:40:04.954232 WARNING notifreeze: Unexpected error running initialize() for notifreeze
2021-11-01 12:40:04.955583 WARNING notifreeze: ------------------------------------------------------------
2021-11-01 12:40:04.976749 WARNING notifreeze: Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/appdaemon/app_management.py", line 163, in initialize_app
await init()
File "/config/appdaemon/apps/ad-notifreeze/notifreeze.py", line 176, in initialize
since = own_messages.pop("since", self.msgs.get("since"))
AttributeError: 'str' object has no attribute 'pop'

2021-11-01 12:40:04.978141 WARNING notifreeze: ------------------------------------------------------------
2021-11-01 12:41:32.232052 WARNING notifreeze: ------------------------------------------------------------
2021-11-01 12:41:32.233346 WARNING notifreeze: Unexpected error running initialize() for notifreeze
2021-11-01 12:41:32.234421 WARNING notifreeze: ------------------------------------------------------------
2021-11-01 12:41:32.236805 WARNING notifreeze: Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/appdaemon/app_management.py", line 163, in initialize_app
await init()
File "/config/appdaemon/apps/ad-notifreeze/notifreeze.py", line 176, in initialize
since = own_messages.pop("since", self.msgs.get("since"))
AttributeError: 'str' object has no attribute 'pop'

2021-11-01 12:41:32.238747 WARNING notifreeze: ------------------------------------------------------------
2021-11-01 12:43:45.992600 WARNING notifreeze: ------------------------------------------------------------
2021-11-01 12:43:45.995026 WARNING notifreeze: Unexpected error running initialize() for notifreeze
2021-11-01 12:43:45.996732 WARNING notifreeze: ------------------------------------------------------------
2021-11-01 12:43:45.999166 WARNING notifreeze: Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/appdaemon/app_management.py", line 163, in initialize_app
await init()
File "/config/appdaemon/apps/ad-notifreeze/notifreeze.py", line 176, in initialize
since = own_messages.pop("since", self.msgs.get("since"))
AttributeError: 'str' object has no attribute 'pop'

2021-11-01 12:43:46.000660 WARNING notifreeze: ------------------------------------------------------------
2021-11-01 12:44:22.543925 WARNING notifreeze: ------------------------------------------------------------
2021-11-01 12:44:22.546171 WARNING notifreeze: Unexpected error running initialize() for notifreeze
2021-11-01 12:44:22.548099 WARNING notifreeze: ------------------------------------------------------------
2021-11-01 12:44:22.561108 WARNING notifreeze: Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/appdaemon/app_management.py", line 163, in initialize_app
await init()
File "/config/appdaemon/apps/ad-notifreeze/notifreeze.py", line 176, in initialize
since = own_messages.pop("since", self.msgs.get("since"))
AttributeError: 'str' object has no attribute 'pop'

2021-11-01 12:44:22.562737 WARNING notifreeze: ------------------------------------------------------------

my conf

notifreeze:
module: notifreeze
class: NotiFreeze
messages: en_US
#messages: "ciao c'è una finestra aperta"
notify_service: notify.telegram #script.notify
always_notify: false
outdoor: sensor.temperatura_esternna
max_difference: 2.2
delays:
initial: 3
reminder: 7
rooms:
- Schlafzimmer
- Bad
- name: Wohnzimmer
alias: livingroom # entity ids contain livingroom but not wohnzimmer
- name: Keller
door_window: binary_sensor.finestra_salone
indoor:
- sensor.temperature_media_interna

@clipse2004
Copy link

Hey, your config is wrong

messages:
since: "{room_name} {entity_name} offen
seit {open_since}: {initial}°C"
change: "{room_name} {entity_name} offen
seit {open_since}: {initial}°C →
{indoor}°C ({indoor_difference}°C)"

sorry cannot convert it better :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants