Spook -Your homie

:ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost:

v0.12.34

:sparkles: New features

  • Add repair: Find missing source switches for switch_as_x helpers @frenck (#124)

:bug: Bug fixes

:rocket: Enhancements

  • Add aladdin_connect and scrape as known obsolete YAML @frenck (#106)
  • Correction to German translation @steffenrapp (#117)

:toolbox: Maintenance

  • Bump min required Home Assistant to 2023.4.0 @frenck (#126)

:books: Documentation

  • Add docs for switch_as_x repair @frenck (#125)

:arrow_up: Dependency updates

Details
  • :arrow_up: Lock file maintenance @renovate (#101)
  • :arrow_up: Update dependency hass-nabucasa to v0.63.1 @renovate (#102)
  • :arrow_up: Update dependency black to v23.3.0 @renovate (#103)
  • :arrow_up: Update dependency ruff to v0.0.260 @renovate (#104)
  • :arrow_up: Lock file maintenance @renovate (#107)
  • :arrow_up: Update dependency pylint to v2.17.2 @renovate (#108)
  • :arrow_up: Update dependency pre-commit to v3.2.2 @renovate (#109)
  • :arrow_up: Update dependency hass-nabucasa to v0.64.0 @renovate (#110)
  • :arrow_up: Update dependency ruff to v0.0.261 @renovate (#111)
  • :arrow_up: Update dependency homeassistant to v2023.4.0 @renovate (#112)
  • :arrow_up: Update dependency homeassistant to v2023.4.1 @renovate (#113)
  • :arrow_up: Update dependency homeassistant to v2023.4.2 @renovate (#116)
  • :arrow_up: Lock file maintenance @renovate (#118)
  • :arrow_up: Update dependency hass-nabucasa to v0.64.1 @renovate (#119)
  • :arrow_up: Update actions/checkout action to v3.5.1 @renovate (#120)
  • :arrow_up: Update dependency homeassistant to v2023.4.3 @renovate (#121)
  • :arrow_up: Update actions/checkout action to v3.5.2 @renovate (#122)
  • :arrow_up: Update dependency homeassistant to v2023.4.4 @renovate (#123)

:ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost:

1 Like

Have you succeeded in importing Statistics?
I need want to merge Statistics as well, don’t mind if i have to introduce new Sensors as well (of course, some Hints what to take care of if appending older Data would be awesome as well).

It would be e.g. really helpful to have an example of a working Dataset, as a starting Point.
Of course, i have a Dev-System, where i don’t install Spook first (as it is not allowed to).

No, sorry, I didn’t succeed. Although still interested, I had to give up.

Too Bad :frowning: Thanks for getting back anyway! :+1:

Hope never dies, maybe someone with better Knowledge about Function and/or Code can help us out with some little Breadcrumbs?

:ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost:

v0.13.37

:sparkles: New features

  • Add repair: Find unknown entities on dashboards @frenck (#170)

:rocket: Enhancements

  • Add samsungtv as known obsolete YAML config @frenck (#165)
  • Add rainbird as known obsolete YAML config @frenck (#172)
  • Add skybell as known obsolete YAML config @frenck (#171)

:arrow_up: Dependency updates

  • :arrow_up: Lock file maintenance @renovate (#164)
  • :arrow_up: Update dependency homeassistant to v2023.5.4 @renovate (#166)
  • :arrow_up: Update actions/setup-python action to v4.6.1 @renovate (#167)
  • :arrow_up: Update dependency ruff to v0.0.270 @renovate (#168)
  • :arrow_up: Lock file maintenance @renovate (#169)

:ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost::ghost:

so the new Spook manages to show my yaml only Dashboards in the UI editor :wink:

also it finds some frontend entities that it shouldn’t:

I didnt dare to click ‘Opslaan’ as I seem to recall we had ‘Ignore’ (which I need to do). Obviously, ‘Ignore’ is no longer showing. Is this per design, or a bug?

I’m not sure what [[[ & ]]] is, that is not part of Home Assistant or its specifications.

entity, user and group are odd, how are those used?

…/Frenck

those brackets are from custom:button-card templates, and I suppose group and user are custom:state-switch. Some templates are used in custom:template-entity-row

btw, I only picked 1, there are 7 repairs, and they all seem to point to custom card settings

just for the fun of it I tried to edit a dash, and could do so up to clicking SAVE. it then choked, as these are Yaml dashboards.

other finds:

  • mediaquery
  • template
  • light.{{states('input_select.hue_group')|slugify}}
  • deviceID

Spook could have found way more in my config than those though, so if it finds them why not all.

Shipped v0.13.5791 that should address it.

restarting…

“Opslaan” is btw a complete incorrect translations of that button… :woozy_face:

well thats much better, I briefly saw this now:

and that is because it probably loads before these 2 entities are created (in a delayed startup sequence)

the repair seems to auto-disappear after they were created.

on the button: is the ‘ignore’ purposely left out?

on the edit the dashboard: that really should not be showing in yaml mode?

If those entities would have unique IDs that won’t happen (as HA will restore the entity registry items as part of the bootstrap). So, if you can add those, that will help (it also guarantees the entity ID is assigned/reserved).

Yup, if it detects it is resolved, it will clean up after itself.

Not really, I will check that out.

That is a nice improvement I guess. Right now it will probably redirect to an error message I guess.

o heck, I never thought about that, its made in a python script:

hass.states.set('sensor.overview_components', cnt, {
  'friendly_name' : 'Components and domains',
  'icon' : 'mdi:format-list-bulleted-type',
   'components' : cnt,
   '---------------' : '--------',
  'per domain' : complist,
  'subdomains' : cntsub,
  '***************' : '--------',
  'per subdomain' : sublist
  })

and I never considered that to be an option.
Ill try and see what happens

o wait, unique_id is not an attribute of course… can we add that in hass.states.set ?

That is not how you manage entities. That is directly interfacing with the state machine, which should not be done.

Basically, you are injecting a state directly into the state machine, without having an actual entity.

…/Frenck

Why is that a python script anyways, you can get all that in templates now

Ive opened a topic for that, didnt want to hijack this thread…

This Spook repair on a missing service was fixed ( had installed my mobile_app integration and renamed it), but it is not automatically fixed and still showing for automations using it

That is not a repair raised by Spook…

Spook will alway reveal itself in the messages.

…/Frenck

hmmm, sorry for the delay, but it seems you are right :wink:

Hadn’t realized HA also checks for available services.

It’s odd though, and my memory might be playing with me here, but since it wouldn’t go away, I decided to check the hidden repairs.issue_registry and did find these listed. So I edited/deleted them and restarted. Issue gone.

Would have sworn Spook was listed as source on them.

will keep an eye out for it the next time it happens (which it certainly will, after the mobile app gets auto-banned once again…)