Comments (7)
Haven't seen this error since you fixed it. Also not with version 1.0.0 or above.
from spook.
I'm using HA 2023.5.4 with the latest spook version: v0.13.131314
from spook.
It's definitely not a one time error, it occurs regularly:
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.spook
Source: custom_components/spook/repairs/lovelace_unknown_entity_references.py:264
Integration: Spook (documentation, issues)
First occurred: 6. Juni 2023 um 13:53:04 (66 occurrences)
Last logged: 08:14:31
Unexpected exception from <function AbstractSpookRepair.async_activate.._async_inspect at 0x7f81b5b04ca0>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/debounce.py", line 117, in _handle_timer_finish
await task
File "/config/custom_components/spook/repairs/init.py", line 130, in _async_inspect
await self.async_inspect()
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 108, in async_inspect
for entity_id in self.__async_extract_entities(config)
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 159, in __async_extract_entities
entities.update(self.__async_extract_entities_from_card(card))
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 225, in __async_extract_entities_from_card
entities.update(self.__async_extract_entities_from_card(card))
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 225, in __async_extract_entities_from_card
entities.update(self.__async_extract_entities_from_card(card))
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 213, in __async_extract_entities_from_card
entities.update(self.__async_extract_entities_from_actions(config))
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 255, in __async_extract_entities_from_actions
entities.update(self.__async_extract_entities_from_action(action))
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 264, in __async_extract_entities_from_action
(target := config.get(key))
AttributeError: 'str' object has no attribute 'get'
from spook.
Similar thing happens with v0.14.0 on HA 2023.6.1...
Logger: custom_components.spook
Source: custom_components/spook/repairs/lovelace_unknown_entity_references.py:217
Integration: Spook ([documentation](https://github.com/frenck/spook), [issues](https://github.com/frenck/spook/issues))
First occurred: 14:54:38 (22 occurrences)
Last logged: 15:23:49
Unexpected exception from <function AbstractSpookRepair.async_activate.<locals>._async_inspect at 0x7f4f82ede0>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/debounce.py", line 117, in _handle_timer_finish
await task
File "/config/custom_components/spook/repairs/__init__.py", line 130, in _async_inspect
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 108, in async_inspect
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 156, in __async_extract_entities
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 215, in __async_extract_entities_from_card
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 218, in __async_extract_entities_from_card
File "/config/custom_components/spook/repairs/lovelace_unknown_entity_references.py", line 217, in __async_extract_entities_from_card
TypeError: 'NoneType' object is not iterable
from spook.
My specific error hasn't occurred for a day after updating to Spook 14 and HA 2023.6.1.
I'll keep watching
from spook.
Is this still gone in V1.0.0+ of this integration?
../Frenck
from spook.
Alright, in that case I'll go ahead and close this one up.
If you come across it again, please let me know 👍
../Frenck
from spook.
Related Issues (20)
- Importing services does blocking I/O in the event loop
- False positive: binary_sensor.backups_stale is reported as missing after home assistant restart HOT 1
- Attribute error for spook repairs with core 2024.4 HOT 2
- Enable entity does not work HOT 2
- Detected blocking call to import_module inside the event loop HOT 1
- Detected blocking call to import_module inside the event HOT 1
- Increment/Decrement doesn't work on step of 0.1
- Error while setting up spook platform for switch, sensor, event & button HOT 1
- Google Backup Entities HOT 5
- Repair not clearing HOT 5
- Errors in log when reloading Spook: Unable to remove unknown job listener
- flatten not consistently working for template sensor HOT 1
- Ignore issues keep popping up. HOT 3
- light group causes "Unknown entities used in <automation>"
- An error in localization HOT 1
- You can not select disabled devices when using Enable Device HOT 1
- Generating abundant async_delete_issue HOT 2
- Error "Validation of translation placeholders for localized (pl)..." HOT 5
- spook tell me there is an issue even if i have correct the problem HOT 1
- wrong Link in Documentation
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 spook.