Giter Club home page Giter Club logo

Comments (7)

C0rish avatar C0rish commented on July 23, 2024 1

Haven't seen this error since you fixed it. Also not with version 1.0.0 or above.

from spook.

C0rish avatar C0rish commented on July 23, 2024

I'm using HA 2023.5.4 with the latest spook version: v0.13.131314

from spook.

C0rish avatar C0rish commented on July 23, 2024

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.

pplucky avatar pplucky commented on July 23, 2024

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.

C0rish avatar C0rish commented on July 23, 2024

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.

frenck avatar frenck commented on July 23, 2024

Is this still gone in V1.0.0+ of this integration?

../Frenck

from spook.

frenck avatar frenck commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.