Skip to content

firerm/jahoofunen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

28 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Important: Please look at the bottom of the page for the New YAML code ! If you want to make it as webpage on you Dashboard enter this URL :

Automate your Laughter ๐Ÿค–๐Ÿ˜‚

Daily Cartoon Logo

HACS Custom GitHub stars GitHub issues

We automate our lights. We automate our heating. Why not automate our humor?

Introducing the Daily Cartoon & Meme Viewer for Home Assistant. Because frankly, looking at your server CPU usage isn't funny (unless it's at 100%, then it's a tragedy).

Features:

๐ŸŽจ High-Quality Imagery: Crispy cartoons and memes.

๐Ÿ‘‰ Interactive: Browse through previous photos/ cartoon / memes .

๐Ÿงฉ Plug & Play: Works out of the box. With smart Cache Control ( refresh every 15 minutes or manual by you !)

Just Click here and have Fun : Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

๐Ÿ’ฟ Installation

Once you have added this repository to HACS: When you add The repo ** automaticaly**

  1. Restart: Restart Home Assistant completely. * When you done :
  2. Add Integration:
    • Go to Settings > Devices & Services.
    • Click the + ADD INTEGRATION button (bottom right).
    • Search for "Jahoo".
    • Click on it to install.

Done! You can now add the card ** choose manual ** to your dashboard using the YAML code above. you can customize it !

PS: when you press the arrows wait 10 sec to change the photo this is protection for Home Assistant OS to not flood the system. Its normal.

๐ŸŽจ Dashboard Configuration (YAML) * choose MANUAL *

Note

**NEW SETUP INSTRUCTION for the Last Version 0.1.4 **

The YAML code below creates a full card with the image, description, and navigation controls.

*** UPDATE For Version 0.1.4*** Please add this YAML to MANUAL :

type: vertical-stack
cards:
  # 1. Image Card
  - type: picture-entity
    entity: camera.jfen_daily_cartoon
    camera_view: live
    show_name: false
    show_state: false
    tap_action:
      action: none

  # 2. Content
  - type: markdown
    content: |
      ## {{ states('sensor.jfen_daily_cartoon') }}
      {{ state_attr('sensor.jfen_daily_cartoon', 'description') }}

      <small style="display: block; text-align: right; margin-top: 10px; opacity: 0.6;">
        <a href="{{ state_attr('sensor.jfen_daily_cartoon', 'viewer_url') }}" target="_blank" style="color: inherit;">
           VIEW FULL SIZE
        </a>
      </small>

  # 3. Controls (Prev / Refresh / Next)
  - type: horizontal-stack
    cards:
      - type: button
        entity: button.previous_image
        show_name: false
        icon: mdi:arrow-left
        tap_action:
          action: toggle
      - type: button
        entity: button.refresh_data
        name: REFRESH
        show_name: true
        show_icon: false
        tap_action:
          action: toggle
      - type: button
        entity: button.next_image
        show_name: false
        icon: mdi:arrow-right
        tap_action:
          action: toggle

About

English Version for fun!

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages