this post was submitted on 13 May 2025
1 points (100.0% liked)

Home Assistant

412 readers
1 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY...

founded 2 years ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/nutteloost on 2025-05-13 18:41:23+00:00.


Hi everyone ✌️

I’m excited to share Simple Swipe Card, a new custom card I developed. This card lets you add multiple cards in a container and swipe between them - perfect for saving dashboard space!

Why I Made This Card 🧐

I previously used swipe card, but kept running into the infamous “t.setconfig is not a function” error. It was frustrating enough that I decided to build my own swipe card from scratch.

My version doesn’t use the Swiper library and has fewer bells and whistles, but it’s reliable and does exactly what I need it to.

Features ⭐️

  • Swipe between multiple cards
  • Pagination dots for visual reference
  • Configurable card spacing
  • Full visual editor support
  • Mobile-friendly touch and mouse navigation

Example

Configuration Example 🗒️

You can configure the card using the visual editor or with YAML:

type: custom:simple-swipe-card
cards:
  - type: weather-forecast
    entity: weather.home
  - type: entities
    entities:
      - sensor.temperature
      - sensor.humidity
show_pagination: true
card_spacing: 15

Visual Editor 🛠️

The card also includes a visual editor with a card picker for easy configuration from the dashboard without the need to edit any yaml

https://preview.redd.it/0n6wbzpjfl0f1.png?width=2008&format=png&auto=webp&s=ad95ef04e085fbe5487ebb0809abaeadc6ec9347

Installation & More Information ℹ️

All installation instructions, configuration details, and customization options are in the GitHub repository:

GitHub - nutteloost/simple-swipe-card: A swipeable container for multiple cards with touch and mouse gesture support 👈

Looking forward to seeing how you use this card in your dashboards! If you have any feedback or run into issues, please let me know.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here