Spook - Not your homie

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

v0.6.780

  • Fixes a compatibility issue with Home Assistant 2023.2. #sorrynotsorry
  • Fixes services without options. #lessismore
  • Add repairs.ignore_all service to ignore them all! #ignoranceisbliss
  • Add repairs.unignore_all service to unignore them all! #faceit
  • Add repairs.create to create your own issues. #tons
  • Add repairs.remove to remove your own issues again. #noproblem

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

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

v0.10.10

  • Add service: input_number.min
  • Add service: input_number.max
  • Add service: number.min
  • Add service: number.max
  • Fix/correct number increment/decrement services to handle unit conversions
  • Add FAQ section to the README
  • Added a whole bunch of repairs, that can detect the use of unknown areas, devices, and services used in your automation and scripts :ghost:

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

1 Like

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

v0.10.100

  • Add service: homeassistant.remove_all_orphaned_entities

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

2 Likes

Are you planning to work off all WTH? :grin:

2 Likes

LOL most definitely not

When are you going to release v 1.23.45?

1 Like

What about input_select.shuffle_options? For when you need to randomly re-order the options… like a poltergeist moving your stuff around.

#Who_keeps_putting_my_keys_in_the_freezer :ghost:

1 Like
1 Like

Hehe probably never… I might just do a v1.23.44 and next a v1.23.46… just because… it can :smiley:

3 Likes

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

v0.11.111

:sparkles: New features

  • Adds scripts to the specific entities counted. @cerebrate (#23)
  • Add input_select.shuffle & sort service @frenck (#26)
  • Add repairs: Unknown group members @frenck (#29)

image

:bug: Bug fixes

  • Fix service description schema for number.increment & input_number.increment @frenck (#27)
  • Let Home Assistant accept this as repair platform @frenck (#28)

:rocket: Enhancements

  • CI, linting, refactoring, cleanup, labeling, stuff @frenck (#21)
  • Cleanup missing entity detection a little @frenck (#22)

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

1 Like

I believe that’s a typo.

The PR’S title also mentions input_number but it’s body shows it’s for input_select.

1 Like

Yup… :slight_smile:

It is shipped already :man_shrugging:

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

v0.11.1111

:sparkles: New features

  • Add repair: Find known old platform configuration @frenck (#32)

:bug: Bug fixes

  • Fix enable entity service name @frenck (#35)

:rocket: Enhancements

  • Add more known removed YAML domains @frenck (#31)
  • Remove unneeded return statement @frenck (#36)

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

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

v0.11.1112

:rotating_light: Breaking changes

  • Rename remove all orphaned entities service to delete @frenck (#51)

:sparkles: New features

  • Add repair: Find missing source in integration helpers @frenck (#47)

  • Add services for enabling/disabling polling @frenck (#46)
  • Add service: Create area @frenck (#48)
  • Add service: Remove area @frenck (#49)
  • Add service: Add device to area @frenck (#52)
  • Add service: Remove device from area @frenck (#53)
  • Add service: Add entity to area @frenck (#54)
  • Add service: Remove entity from area @frenck (#55)
  • Add service: Add alias to area @frenck (#57)
  • Add service: Remove alias from area @frenck (#58)
  • Add service: Set aliases for an area @frenck (#59)

:bug: Bug fixes

  • Fix statistics_id β†’ statistic_id in service description @frenck (#45)
  • Fix add device/entity to area @frenck (#56)

:rocket: Enhancements

  • Rename remove area to delete area @frenck (#50)

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

2 Likes

Thanks for this. I haven’t yet installed it #infactyes. Does anyone know a working example for using the import_statistics service? As docs state, I would like to do this: inject historical statistics data into the recorder long-term stats database
Thanks!

image

I just looked at the code and tbh, this is not going to be easy unless these are new statistics, i.e. adding or preceding existing statistics might be a lot easier via the db with SQL and importing in the db
If not new then you need to align preceding or succeding with the values already there for sum and state, not forgetting short_term stats
spook/recorder_import_statistics.py at main Β· frenck/spook (github.com)

Thanks for your time. I wouldn’t mind to introduce new statistics. My use case can be easily explained in the following picture. By the end of February my inside thermometer was going crazy so I replace it with a new one. Now I have to plot two inside thermometers if I want to visualize the long term data. I would like to have just one (no matter if it is a new one). A search in the forum about import statistics led me to this thread, which is hilarious.

FAFAIK, there is nothing (also not via spook) that supports import of statistics or probaly any data
Along the link I sent you can try to construct following the lines that address data()
Tip 1: it remains not supported, no crying to me or Frank or anyone else if you screw up more than intended (I did screw up more in the past :roll_eyes:)
Tip 2: do it on dev and check it for a few days, I found statistics_short_term bugging a lot

1 Like

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

v0.11.1115

:bug: Bug fixes

  • Fix input number increment/decrement steps @frenck (#64)
  • Ignore persistent_notification entities when detecting unused entities @frenck (#69)
  • Ignore Templates when detecting unused entities @frenck (#70)

:rocket: Enhancements

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

2 Likes

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

v0.11.1116

:bug: Bug fixes

  • Fix statistics import service to accept None for last_rest @frenck (#76)
  • Fix (input_)number service descriptions @frenck (#79)

:rocket: Enhancements

  • Add Italian translations @alessandroias (#73)
  • Add German translation @steffenrapp (#96)

:toolbox: Maintenance

  • Add SonarCloud badge & Renovate @frenck (#80)
  • Collection of development/ci env tweaks @frenck (#92)
  • Small adjustment to CI & Renovate config @frenck (#97)

:arrow_up: Dependency updates

  • :arrow_up: Pin dependencies @renovate (#83)
  • :arrow_up: Lock file maintenance @renovate (#86)
  • :arrow_up: Update dependency ruff to v0.0.257 @renovate (#85)
  • :arrow_up: Update dependency hass-nabucasa to v0.61.1 @renovate (#87)
  • :arrow_up: Update dependency pre-commit to v3.2.0 @renovate (#88)
  • :arrow_up: Update dependency pylint to v2.17.0 @renovate (#89)
  • :arrow_up: Update dependency pylint to v2.17.1 @renovate (#90)
  • :arrow_up: Update dependency homeassistant to v2023.3.6 @renovate (#84)
  • :arrow_up: Update dependency ruff to v0.0.258 @renovate (#91)
  • :arrow_up: Update dependency hass-nabucasa to v0.62.0 @renovate (#93)
  • :arrow_up: Update dependency ruff to v0.0.259 @renovate (#94)
  • :arrow_up: Lock file maintenance @renovate (#95)
  • :arrow_up: Update actions/checkout action to v3.5.0 @renovate (#98)
  • :arrow_up: Update dependency pre-commit to v3.2.1 @renovate (#99)

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