Skip to content

Releases: frenck/spook

v3.1.0

06 Aug 18:22
d9bac56
Compare
Choose a tag to compare

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

This release prepares for the upcoming Home Assistant 2024.8 release πŸš€

While it is not required to upgrade (2024.8 isn't breaking Spook, and Spook not breaking 2024.8), it does take into account changes made in Home Assistant 2024.8. That release will rename "Services" to "Actions", which Spook has done now as well 😎

Furthermore, we have a brand new action available this release: homeassistant.list_orphaned_database_entities, contributed by @gieljnssns.

Oh! And @piitaya πŸ„ dropped by to add support for finding unknown entities in the new (experimental) sections dashboards! Nice ❀️

✨ New features

πŸ› Bug fixes

  • Fix decimal math inaccuracy in increment/decrement services @frenck (#766)
  • Remove platinum quality scale markers (they were fake anyways) @frenck (#804)

πŸš€ Enhancements

  • Search for unknown entities inside sections @piitaya (#798)

🧰 Maintenance

  • Translations update from Hosted Weblate @weblate (#747)
  • Translations update from Hosted Weblate @weblate (#761)
  • Rename 'service' to 'action' following Home Assistant 2024.8 @frenck (#805)
  • Translations update from Hosted Weblate @weblate (#807)

πŸ“š Documentation

  • Rename 'service' to 'action' following Home Assistant 2024.8 @frenck (#805)
  • Fix link to import statistics @frenck (#806)

⬆️ Dependency updates

Details
  • ⬆️ Update dependency node to v20.13.0 @renovate (#755)
  • ⬆️ Update softprops/action-gh-release action to v2.0.5 @renovate (#754)
  • ⬆️ Update actions/checkout action to v4.1.5 @renovate (#756)
  • ⬆️ Update dependency node to v20.13.1 @renovate (#757)
  • ⬆️ Update eifinger/setup-rye action to v3 @renovate (#759)
  • ⬆️ Update eifinger/setup-rye action to v3.0.1 @renovate (#765)
  • ⬆️ Update actions/checkout action to v4.1.6 @renovate (#767)
  • ⬆️ Update eifinger/setup-rye action to v3.0.2 @renovate (#770)
  • ⬆️ Update dependency node to v20.14.0 @renovate (#772)
  • ⬆️ Update actions/checkout action to v4.1.7 @renovate (#777)
  • ⬆️ Update softprops/action-gh-release action to v2.0.6 @renovate (#778)
  • ⬆️ Update dependency node to v20.15.0 @renovate (#779)
  • ⬆️ Update eifinger/setup-rye action to v3.0.3 @renovate (#780)
  • ⬆️ Update eifinger/setup-rye action to v4 @renovate (#788)
  • ⬆️ Update eifinger/setup-rye action to v4.0.2 @renovate (#789)
  • ⬆️ Update dependency node to v20.15.1 @renovate (#790)
  • ⬆️ Update actions/setup-node action to v4.0.3 @renovate (#791)
  • ⬆️ Update eifinger/setup-rye action to v4.1.0 @renovate (#792)
  • ⬆️ Update eifinger/setup-rye action to v4.2.0 @renovate (#793)
  • ⬆️ Update sigstore/gh-action-sigstore-python action to v3 @renovate (#794)
  • ⬆️ Update softprops/action-gh-release action to v2.0.7 @renovate (#795)
  • ⬆️ Update softprops/action-gh-release action to v2.0.8 @renovate (#797)
  • ⬆️ Update eifinger/setup-rye action to v4.2.1 @renovate (#799)
  • ⬆️ Update dependency node to v20.16.0 @renovate (#800)
  • ⬆️ Update eifinger/setup-rye action to v4.2.2 @renovate (#801)

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

v3.0.1

30 Apr 20:40
3335619
Compare
Choose a tag to compare

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

Small bugfix release. For the bigger changes/announcements from v3.0.0, see:

https://github.com/frenck/spook/releases/tag/v3.0.0

πŸ› Bug fixes

  • Fix frozen dataclass inherits from a non-frozen one @frenck (#746)

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

v3.0.0

30 Apr 18:52
0210173
Compare
Choose a tag to compare

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

Birthday release! πŸŽ‰

Spook πŸ‘» recently had his first birthday, and I'm celebrating that with some major changes that justifies this release to be a major release 🀘

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 πŸŽ‰

And not just that, Spook is no longer "Not your homie"... as of today, Spook is your homie! πŸŽ‰

Spook πŸ‘» Your homie

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 πŸ‘» 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! ❀️

✨ 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 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)

πŸš€ 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)

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

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

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

v2.2.4

25 Mar 08:34
6893c83
Compare
Choose a tag to compare

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

πŸš€ Enhancements

🧰 Maintenance

⬆️ Dependency updates

Details

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

v2.2.3

23 Mar 09:18
923d7f6
Compare
Choose a tag to compare

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

This is a bug-fix release! πŸ›

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

πŸ› Bug fixes

🧰 Maintenance

⬆️ Dependency updates

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

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

v2.2.2

12 Feb 18:13
806a7a9
Compare
Choose a tag to compare

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

Tiny bug fix release that adds backward-compatibility for automations that still use the legacy service_template property to call the service using a template.

πŸ› Bug fixes

  • Fix detecting service calls that use old-style service_template @frenck (#617)

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

v2.2.1

11 Feb 17:34
a118512
Compare
Choose a tag to compare

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

πŸ› Bug fixes

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

πŸš€ Enhancements

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

🧰 Maintenance

πŸ“š Documentation

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

⬆️ Dependency updates

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

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

v2.2.0

10 Feb 15:50
aa2fb9d
Compare
Choose a tag to compare

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

This release requires at least Home Assistant 2024.2.0 or later. Also, when used, HACS v1.34.0 or later is needed. Be sure to upgrade those! ☺️

Also, Spook has a new home on the web! You can now find all of Spook's documentation on his new URL here:

https://spook.boo

So, let's talk about the new things this release!

Spook knows about the new Proximity integration

The new Proximity integration, which was revamped for Home Assistant 2024.2, has been added to Spook as well.
It will be able to detect configuration issues with the UI configuration of those. For example, if proximity is set on a zone that no longer exists, ignores non-existing zones, or tracks unknown devices or persons.

As usual, Spook will create a nice repair issue for those.

CleanShot 2024-02-10 at 16 48 00@2x

Non-existing service calls in automations

Spook can figure out the used services in automations now and will use this to check if all called services in action are existing services. If not, well, you guessed it: A repair issue will be raised.

CleanShot 2024-02-10 at 16 37 59@2x

Home Assistant itself can raise these too. However, Spook will detect and raise them proactively.

Translation fixes

Home Assistant 2024.2 can raise warnings in the logs in case there are translation issues. Many of those warnings have been fixed in the translations used by Spook.

If you find more, please let us know! Or, help out translating Spook. All you need is a browser.

https://spook.boo/development#translating-spook


Changelog below.

✨ New features

  • Add inspections for unknown service calls in automations @frenck (#600)
  • Add inspections for proximity issues @frenck (#596)

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

  • ⬆️ Update actions/deploy-pages action to v4.0.4 @renovate (#586)
  • ⬆️ Update dependency ruff to v0.2.1 @renovate (#587)
  • ⬆️ Update actions/setup-node action to v4.0.2 @renovate (#588)
  • ⬆️ Update dependency homeassistant to v2024.2.0 @renovate (#589)
  • ⬆️ Update dependency hass-nabucasa to v0.78.0 @renovate (#578)
  • ⬆️ Update dependency homeassistant to v2024.2.1 @renovate (#594)

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

v2.1.2

04 Feb 19:58
623bb31
Compare
Choose a tag to compare

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

🧰 Maintenance

⬆️ Dependency updates

  • ⬆️ Update dependency ruff to v0.1.14 @renovate (#571)
  • ⬆️ Update dependency ruff to v0.1.15 @renovate (#576)
  • ⬆️ Update dependency ruff to v0.2.0 @renovate (#579)
  • ⬆️ Update release-drafter/release-drafter action to v6 @renovate (#580)
  • ⬆️ Update dependency homeassistant to v2024 @renovate (#528)

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

v2.1.1

16 Jan 19:46
0786daf
Compare
Choose a tag to compare

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»

πŸ› Bug fixes

  • Don't inspect if automation or scripts aren't loaded yet @frenck (#565)
  • Ensure timer is set up before adding services @frenck (#568)

🧰 Maintenance

πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»πŸ‘»