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 ๐ค๐
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 :
Once you have added this repository to HACS: When you add The repo ** automaticaly**
- Restart: Restart Home Assistant completely. * When you done :
- 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.
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