Spook -Your homie

Thanks! That is a bug in parsing repeat actions/sequences. Will ship a fix in the next patch :+1:

Bugfix PR: https://github.com/frenck/spook/pull/607

feel honored to see my mobile_app service being shown as example here.

Cool! :+1: I think it was still on my dev env from an earlier bug report :slight_smile:

1 Like

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

v2.2.1

:bug: Bug fixes

  • Fix parsing of used services when encountering a repeat action @frenck (#607)

:rocket: Enhancements

  • Deduplicate repair issue cleanup code @frenck (#603)
  • Refactor getting/filtering for unknown entity/area/devices/services @frenck (#606)

:toolbox: Maintenance

  • Translations update from Hosted Weblate @weblate (#611)
  • Translations update from Hosted Weblate @weblate (#605)

:books: Documentation

  • Fix rendering of proximity documentation page @frenck (#602)

:arrow_up: Dependency updates

  • :arrow_up: Update dependency pre-commit to v3.6.1 @renovate (#604)

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

1 Like

Hey there homie :facepunch:

I need your help! :ghost: Spook will turn 1-year old on February the 23rd. :partying_face:

This is great, but I’m considering changing a thing or two and am looking for your opinion on the matter.

“Spook :ghost: Not your homie”

This has been the slogan since the start. But I feel like he is actually many people’s homie nowadays.

Time to change it? More context and poll is here:

Next up is the license. Spook has been published with a Passive Aggressive License. Reason: One shouldn’t be using this custom integration; thus, the license forbids use.

Maybe we need to change this too? More context and poll here:

Would appreciate your vote and/or comment :heart:

…/Frenck

4 Likes

I used it anyway, but a better license would be nice.

1 Like

Not sure i’ve ever read the license(or any) to the end, so im not sure how it would affect me :laughing:

True he has been a “vital” part of my life for a while now, reminding and enlightening me ! ( No more commends in this regards ) :blush:

Dunno if that’s My Homie, is they suppose do do so every day ?

How we can refresh or rerun repairs without restart ha?

Steffen

You don’t have to. Each repair listens for changes that might affect them, and will retrigger themselves when those events occur.

…/Frenck

1 Like

seeing this repair:

even though the service is available:

Ive just updated to todays dev 2024.3.0.dev20240220 and supervisor 2024.02.1.dev1604, to test some other functionality, so maybe its causing some hiccup ?

or maybe it checked before the integration was loaded. never noticed this repair before, and it doesnt auto disappear after restart, so figured it might be worthwhile having a look before filing an issue

1 Like

FWIW, I’m observing the same “Ghost” repairs as Marius over last few days…for random automations and random services…perhaps there is a Spook about :ghost:

I also have seen this for entities that actually are available. Similar to this:

Mine keeps identifying my Alexa notification services as ghosts …

image

The service does work perfectly fine. Here’s how I tested the service:

Spook v2.2.2

1 Like

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

v2.2.3

This is a bug-fix release! :bug:

  • Fixes a compatibility issue with the upcoming Home Assistant 2024.4 :rotating_light:
  • Fixes automatic cleanup of reported repair issues
  • Fixes detecting empty device IDs

:bug: Bug fixes

  • Make cloud switch entity _update_state function a coro @jpbede (#647)
  • Fix for event filter @andrew-codechimp (#666)
  • Fix auto-cleanup of repair issues @frenck (#667)
  • Fix detecting empty device IDs @frenck (#669)

:toolbox: Maintenance

  • Translations update from Hosted Weblate @weblate (#614)
  • Translations update from Hosted Weblate @weblate (#616)

:arrow_up: Dependency updates

Details
  • :arrow_up: Update dependency node to v20.11.1 @renovate (#622)
  • :arrow_up: Update dependency homeassistant to v2024.2.2 @renovate (#625)
  • :arrow_up: Update dependency ruff to v0.2.2 @renovate (#628)
  • :arrow_up: Update dependency pre-commit to v3.6.2 @renovate (#629)
  • :arrow_up: Lock file maintenance @renovate (#630)
  • :arrow_up: Update dependency homeassistant to v2024.2.3 @renovate (#633)
  • :arrow_up: Update dependency pylint to v3.0.4 @renovate (#634)
  • :arrow_up: Update dependency pylint to v3.1.0 @renovate (#639)
  • :arrow_up: Lock file maintenance @renovate (#640)
  • :arrow_up: Update dependency homeassistant to v2024.2.4 @renovate (#641)
  • :arrow_up: Update dependency homeassistant to v2024.2.5 @renovate (#643)
  • :arrow_up: Lock file maintenance @renovate (#649)
  • :arrow_up: Update dependency homeassistant to v2024.3.0 @renovate (#652)
  • :arrow_up: Update softprops/action-gh-release action to v2 @renovate (#653)
  • :arrow_up: Lock file maintenance @renovate (#654)
  • :arrow_up: Update softprops/action-gh-release action to v2.0.3 @renovate (#656)
  • :arrow_up: Update softprops/action-gh-release action to v2.0.4 @renovate (#657)
  • :arrow_up: Update dependency ruff to v0.3.2 @renovate (#645)
  • :arrow_up: Update dependency hass-nabucasa to v0.79.0 @renovate (#658)
  • :arrow_up: Lock file maintenance @renovate (#662)
  • :arrow_up: Update actions/deploy-pages action to v4.0.5 @renovate (#663)
  • :arrow_up: Update dependency ruff to v0.3.4 @renovate (#661)
  • :arrow_up: Update dependency homeassistant to v2024.3.3 @renovate (#659)

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

1 Like

Good to know, I better update because Wednesday is the next beta.

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

v2.2.4

:rocket: Enhancements

  • Performance improvements @frenck (#679)

:toolbox: Maintenance

  • Translations update from Hosted Weblate @weblate (#675)
  • Translations update from Hosted Weblate @weblate (#676)

:arrow_up: Dependency updates

Details
  • :arrow_up: Update dependency pre-commit to v3.7.0 @renovate (#677)
  • :arrow_up: Lock file maintenance @renovate (#678)

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

1 Like

Spook just saved me a lot of time and testing. I had to replace 8 smart light dimmers (Zigbee). I reused the device names, but that was not good enough for the automations in Home Assistant. Spook identified all updates I needed to do, and removed the notifications as soon as the correct update was saved.
Thank you, Franck! :slight_smile:

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

v3.0.0

Birthday release! :tada:

Spook :ghost: recently had his first birthday, and I’m celebrating that with some major changes that justifies this release to be a major release :metal:

Many have complained that Spook has an annoying license and an unfriendly tone that is discouraging and scary. Well, honestly, the scary part is a bit part of running custom integrations, I guess, the reason why he is a ghost in the first place… but… Agreed.

Therefore, as of today, Spook is MIT Licensed :tada:

And not just that, Spook is no longer “Not your homie”… as of today, Spook is your homie! :tada:

Yes, feel free to run it and use it. He is your friend.

Compatibility with Home Assistant 2024.5

This release fixes a few compatibility issues with Home Assistant 2024.5.
Upgrading Spook before Home Assistant is recommended but not critical.
If you swap the upgrade order, there will be no sweat!

Labels & Floors

Home Assistant 2024.4 brought your new organizational features: Floors & Labels.
This release of Spook :ghost: adds support for those too!

Spook is able to detect the use of unknown labels & floors being used in your automations and script (and creates repairs for those), but also provides you a shitload of services that allows you to manage both floors and labels programmatically.

Read more about it in the label management and floor management documentation.

Changelog

There are many other small changes and improvements. Thanks everyone for contributing! :heart:

:sparkles: New features

  • Detect unknown labels used in automations @frenck (#694)
  • Detect unknown floors used in automations @frenck (#695)
  • Detect unknown labels used in scripts @frenck (#696)
  • Detect unknown floors used in scripts @frenck (#697)
  • Allow setting icon on homeassistant.create_area service @frenck (#699)
  • Add homeassistant.create_floor service @frenck (#702)
  • Add homeassistant.add_alias_to_floor service @frenck (#703)
  • Add homeassistant.remove_alias_from_floor service @frenck (#704)
  • Add homeassistant.set_floor_aliases service @frenck (#705)
  • Add homeassistant.add_area_to_floor service @frenck (#706)
  • Add homeassistant.remove_area_from_floor service @frenck (#707)
  • Add homeassistant.delete_floor service @frenck (#708)
  • Add homeassistant.delete_label service @frenck (#712)
  • Add homeassistant.create_label service @frenck (#713)
  • Add homeassistant.add_label_to_area service @frenck (#715)
  • Add homeassistant.add_label_to_device service @frenck (#716)
  • Add homeassistant.add_label_to_entity service @frenck (#717)
  • Add homeassistant.remove_label_from_area service @frenck (#718)
  • Add homeassistant.remove_label_from_device service @frenck (#719)
  • Add homeassistant.remove_label_from_entity service @frenck (#720)

:bug: Bug fixes

  • Fix gathering of all floor IDs @frenck (#710)
  • Fix blocking I/O on event loop while importing modules @frenck (#722)
  • Fix area and floor registry service calls @cdce8p (#732)

:rocket: Enhancements

  • Migrate from Poetry to rye @frenck (#673)
  • Use floor selector in floor related services @frenck (#711)
  • Misc typing improvements @cdce8p (#731)
  • Add EventType annotations @cdce8p (#733)
  • Change Description dataclasses to frozen @cdce8p (#730)
  • Make AbstractSpookEntityService and AbstractSpookEntityComponentService generic @cdce8p (#729)

:toolbox: Maintenance

  • Switch Spook to MIT license @frenck (#671)
  • Spook: Your homie - Brand assets @frenck (#687)
  • Spook: Your homie @frenck (#688)
  • Require at least Home Assistant 2024.4.0 @frenck (#692)
  • Clean up Poetry from Renovate configuration @frenck (#693)
  • Require at least Home Assistant 2024.4.0 @frenck (#721)
  • Move license to root of repo so GitHub picks it up @frenck (#723)
  • Translations update from Hosted Weblate @weblate (#682)
  • Translations update from Hosted Weblate @weblate (#685)

:books: Documentation

  • Add mentions of Spook in media @frenck (#689)
  • Some more doc tweaks @frenck (#690)
  • Recommend Spook, instead of discourage the use @frenck (#724)
  • Update recorder.md to improve YAML example. @BJReplay (#727)
  • Add documentation for v3.0 features @frenck (#745)

:arrow_up: Dependency updates

  • :arrow_up: Update actions/setup-python action to v5.1.0 @renovate (#683)
  • :arrow_up: Update dependency node to v20.12.0 @renovate (#684)
  • :arrow_up: Update eifinger/setup-rye action to v2.5.1 @renovate (#691)
  • :arrow_up: Update dependency node to v20.12.1 @renovate (#714)
  • :arrow_up: Update eifinger/setup-rye action to v2.5.2 @renovate (#734)
  • :arrow_up: Update dependency node to v20.12.2 @renovate (#735)
  • :arrow_up: Update actions/checkout action to v4.1.3 @renovate (#739)
  • :arrow_up: Update eifinger/setup-rye action to v2.6.0 @renovate (#741)
  • :arrow_up: Update actions/checkout action to v4.1.4 @renovate (#742)

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

11 Likes

Dunno, I think I am still “scared” to update. Kidding.

1 Like

3 Likes

OK … ok … upgraded. Not scary at all. Now upgrading three other homes remotely as it is nearly one of the first things I install in any solution for my homes, winery and friends! And the fun begins for the new property in Italy managed from the US.

1 Like

Is it possible that Spook checks the previous state of a sensor? If its unavailable for a time, lets say a day, it may report it?
Because now I get the same Spook warning everytime when my solax sensor isn’t gathering data (due to inverter offline during nights).
So yes the sensor is not available at this moment. But is back when the inverter gets online.

I can click on ignore but when I restart HA it gives me the same warning again.

Thanks :slight_smile: