Skip to content

v1.2.0

Choose a tag to compare

@loryanstrant loryanstrant released this 16 Nov 01:38
55ab8db

What's Changed

  • Revise installation and configuration instructions by @loryanstrant in #7
  • Add multi-provider support with fault tolerance and random selection by @Copilot in #8
  • Generalize integration from "Dad Jokes" to "Jokes" and rename sensor entity by @Copilot in #9

Breaking Changes

Sensor Entity ID Changed

Breaking Change: The sensor entity ID has been renamed from sensor.dad_joke to sensor.joke.

This change was made because the integration now fetches jokes from multiple sources beyond just "dad jokes" (including icanhazdadjoke.com, JokeAPI v2, and Official Joke API).

What you need to do:

  1. Update your automations, scripts, and dashboards to use the new entity ID sensor.joke instead of sensor.dad_joke.

  2. Example updates needed:

    • Old: sensor.dad_joke
    • New: sensor.joke
  3. Search your configuration for references:

    • Check automations.yaml
    • Check Lovelace dashboards
    • Check scripts
    • Check template sensors

After updating the integration:

  • The old entity sensor.dad_joke will no longer exist
  • A new entity sensor.joke will be created
  • All attributes remain the same: joke, joke_id, source, last_updated, refresh_interval
  • The sensor will continue to work the same way, just with a new name

Why this change?

The integration name has been generalized from "Dad Jokes" to "Jokes" to better reflect that it now pulls from multiple joke sources, not just dad jokes from icanhazdadjoke.com. The sensor name has been updated to match this new scope.

Full Changelog: v1.0.5...v1.2.0