Home Assistant

391 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
1
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/oMGalLusrenmaestkaen on 2025-05-25 11:56:14+00:00.

2
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/ConnectYou_Tech on 2025-05-25 11:48:43+00:00.

3
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/nutteloost on 2025-05-25 10:06:01+00:00.


Hi everyone 👋

I am excited to share Todo Swipe Card, a custom card I developed for Home Assistant. This card allows you to organize multiple todo lists in a single space and navigate between them with intuitive swipe gestures, making it perfect for optimizing dashboard space while keeping your tasks organized.

Why I Made This Card 🧐

While Home Assistant has excellent todo list functionality, I found myself wanting to group related lists together without cluttering my dashboard. Existing solutions either lacked the specific styling I wanted for todo lists or required complex configuration. I decided to build a dedicated card that combines multiple todo lists with built-in styling and smooth navigation.

This card requires card-mod to function properly, but it handles all the complex styling internally while still allowing full customization through CSS variables.

Features ⭐️

  • Swipe between multiple todo lists with smooth animations
  • Built-in styling with customizable options through themes and card mod
  • Pagination dots for visual navigation
  • Configurable spacing between cards
  • Options to show or hide completed items
  • Delete completed items button with optional confirmation dialog
  • Background image support for individual lists
  • Full visual editor support
  • Mobile-friendly touch and mouse navigation
  • Extensive customization through CSS variables

Demo 🎬

Example .gif

Configuration Example 🗒️

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

type: custom:todo-swipe-card
show_pagination: false
show_addbutton: true
show_create: true
show_completed: true
show_completed_menu: true
delete_confirmation: true
card_spacing: 10
entities:
  - todo.albert_heijn
  - todo.jumbo
  - todo.ikea
  - todo.hornbach
  - todo.action
background_images:
  todo.albert_heijn: /local/images/background_image/albert_heijn.png
  todo.jumbo: /local/images/background_image/jumbo.png
  todo.ikea: /local/images/background_image/ikea.png
  todo.hornbach: /local/images/background_image/hornbach.png
  todo.action: /local/images/background_image/action.png

Visual Editor 🛠️

The card includes a comprehensive visual editor that allows you to add or remove todo lists, configure display options, set background images for individual lists, and adjust spacing without writing any YAML code.

You can show and hide several elements in the card such as the text input field, add button and the delete button. With these options it is possible to use this card as a 'read-only' task list which only shows tasks and the possibility to mark them as completed.

Customization Examples 🎨

The card supports extensive theming through 25 custom CSS variables. Here is an example of a customized colored list with square pagination dots:

https://preview.redd.it/6d13t7i7jw2f1.png?width=474&format=png&auto=webp&s=0a37111aa6d5f1ffd4c0f8b9c50d7c74b9ac23a0

Installation & More Information ℹ️

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

GitHub - nutteloost/todo-swipe-card: A specialized swipe card for todo lists in Home Assistant

Important Note: This card requires card-mod to be installed and working properly, as it uses internal card-mod styling for its core functionality.

I look forward to seeing how you integrate this card into your Home Assistant dashboards. If you have feedback or encounter any issues, please feel free to reach out through the GitHub repository.

4
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Pippin123- on 2025-05-25 06:31:00+00:00.

5
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/GreenTechEngineer on 2025-05-25 08:50:18+00:00.

6
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/WHagenauw on 2025-05-24 21:02:01+00:00.

7
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Revolutionary_Bed431 on 2025-05-24 19:03:24+00:00.

8
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/ElChiniNet on 2025-05-24 15:22:14+00:00.


If you didn't see the first part of this article: 10 cool things that most probably you don’t know about Custom Sidebar HACS plugin, check it here.

Custom Sidebar repository

Custom Sidebar HACS plugin

  1. Hide All option ==================

When you are going to create a configuration for a user, one possible approach is to start hiding the items that this user doesn't need. But what happens when we want to hide everything and just display a few items for that user? It would be a hassle to write item by item with a hide property in true. It is better if we hide everything and just show what we want visible.

In this situation, the hide_all option is handy, it hides all the items in the sidebar, so you can unhide just the items that you want to show.

hide_all: true
order:
  - item: dashboard
    hide: false
  - item: map
    hide: false

  1. Complex Exceptions Matchers conditions =========================================

It is possible to add multiple matchers to an exception (usernot_deviceis_admin, etc). By default if at least one of the matchers matches, the exception will be picked, that is to say, the conditions of the matchers are by default OR conditions. But it is possible to change this behaviour.

matchers_conditions is an optional parameter of an exception (by default its value is OR). It allows to define how the matchers conditions behave and if its value is AND, all the matchers should match for the exceptions being picked. For example, the next example will show the configuration under the exception for all admin users that are not using an iPhone excluding the user ElChiniNet.

exceptions:
  - is_admin: true
    not_device: 'iPhone'
    not_user: 'ElChiniNet'
    matchers_conditions: 'AND'
    order:
      item: 'dashboard'
      hide: true

  1. Divide items per sections ============================

Sometimes, if we end with a sidebar with a large amount of items, it would be useful to visually separate them in groups taking into account their context. In this situation, the divider order-item property becomes a handy feature.

Setting this property in true will add a divider below the sidebar item. It will not add a new DOM element, but a pseudo element that will visually act as a divider with the items placed after it.

order:
  - item: 'overview'
    order: 1
  - new_item: true
    item: 'Lights'
    icon: 'mdi:lightbulb-group'
    href: 'lights/woonkamer'
    order: 2
  - item: 'energy'
    order: 3
    divider: true
  - item: 'developer'
    order: 4
  - item: 'settings'
    order: 5
    divider: true
    ...

Sidebar with dividers using the divider boolean option

  1. Hide or show items depending on the state of an entity =========================================================

Since some time already, it is possible to add templates to the hide property of the order items. This means that it is possible to show or hide items when the state of an entity changes.

We can have an input_boolean that when it is on off, some items of the sidebar remain hidden and when we switch it on, then they get visible.

js_variables:
  admin_boolean: 'input_boolean.show_admin_sidebar_items'
partials:
  admin_active: |
    const adminActive = is_state(admin_boolean, 'on');
    return !adminActive;
order:
  - item: developer tools
    hide: '[[[ @partial admin_active ]]]'
  - item: settings
    hide: '[[[ @partial admin_active ]]]'

Show or hide items depending on the state of an entity

  1. Default dashboard ====================

Sometimes it is useful to make a user land on a specific dashboard when Home Assistant is loaded. To achieve this, you can go to your profile and in the Browser settings there is a specific section to set the default dashboard in that device. But as the description states, this change will be only applied in that device and it is not permanent. This change will be lost if one logs-out and logs-in again or if one logs-in in another device with the same user.

On top of this, this feature only allows to set certain dashboards, as the default one, the ones created manually or other specific dashboards as the Map Dashboard. If one wants to land in any other Home Assistant url when the system loads, that is not natively possible.

With the default_path option you can make Home Assistant loads a specific URL path every time that it loads, and using exceptions, it is even possible to make these changes for specific users or devices, or create custom matcher conditions. These changes will be permanent as long as you keep them in the configuration.

For example, the next code example shows how to create a default URL path for every user and another one for admins.

default_path: '/generic-dashboard'
exceptions:
  - is_admin: true
    default_path: '/lovelace'

The default_path option will change the default behaviour and every time that the page loads it will navigate to this path (either when the page loads for the first time or when it gets refreshed). If you don't want to have this behaviour and you would prefer to load Home Assistant in an specific path or refresh a specific page without being redirected to the default_path, then you should not set this option.

  1. Execute services clicking on sidebar items =============================================

Since the beginning it is possible to assign the href of a sidebar item specifying this property. This property is useful if one wants to go to a dashboard or open an external website when clicking on sidebar items. But since some time, it is also possible to execute a Home Assistant Service (renamed recently to Actions) if we specify the correct action in the on_click property of a sidebar item.

Turning on or turning off a light, reload automations, reload templates, restart Home Assistant among much others, are just some services examples that you can execute just clicking on a sidebar item using this feature. Let's check a very practical example, imagine having a sidebar item that once clicked toggles a light.

order:
  - new_item: true
    item: 'Kitchen lights'
    icon: |
      [[[
        return is_state('light.kitchen_lights', 'on')
          ? 'mdi:lightbulb-on'
          : 'mdi:lightbulb';
      ]]]
    icon_color: |
      [[[
        return is_state('light.kitchen_lights', 'on')
          ? 'var(--accent-color)'
          : 'var(--sidebar-icon-color)';
      ]]]
    on_click:
      action: 'call-service'
      service: 'light.toggle'
      data:
        entity_id: 'light.kitchen_lights'

Call service action in the on_click property of a sidebar item

  1. Reactive variables =====================

Since some time already, it is possible to use reactive variables in the JavaScript templates. Reactive variables are just local variables, they trigger a re-render of the templates that are using them just in the device in which they are being changed. For example, one situation in which reactive variables can be handy is if we want to show or hide some items of the sidebar if a specific item is clicked, in those cases we want to make this changes locally, not for every user.

js_variables:
  admin_items_open: 'ref(false)'
order:
  - new_item: true
    item: 'Admin Items'
    icon: 'mdi:security'
    on_click:
      action: 'javascript'
      code: |
        const open = ref("admin_items_open");
        open.value = !open.value;
  - item: Developer tools
    hide: '[[[ return !ref("admin_items_open").value ]]]'
    attributes:
      data-child: true
  - item: Settings
    hide: '[[[ return !ref("admin_items_open").value ]]]'
    attributes:
      data-child: true
styles: |
  :host([expanded]) ha-md-list > ha-md-list-item[data-child] {
    padding-left: 15px;
  }

Show and hide items using reactive variables

  1. Log sidebar usage in Logbook ===============================

Are you curious to know which sidebar items are the most visited ones among your family members?, or do you want to know if a certain item is visited by your kids? Since some time, there is an analytics option that allows one to log sidebar usage.

It is even possible to know if someone has being playful and has visited a dashboard having the sidebar item hidden for them. Because the analytics option logs sidebar items click...


Content cut off. Read original on https://old.reddit.com/r/homeassistant/comments/1kue40z/other_10_cool_things_that_most_probably_you_didnt/

9
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/criterion67 on 2025-05-24 01:56:17+00:00.

10
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/reformed_colonial on 2025-05-24 05:16:09+00:00.


Hi everyone -

I asked a couple of days ago about a horizontal history card. Apparently such a thing does not exist... until now :)

It should support any sensor that returns a numeric value; temperature, humidity, energy consumption, dog water bowl level, whatever you have...

If such a thing would be useful to you, or if you just like poking at things, give it a try. This is my first attempt at real-world Home Assistant development and I would be interested in any feedback for improvements.

You get get it on GitHub.

https://preview.redd.it/wqvwnm8iyn2f1.png?width=990&format=png&auto=webp&s=250c1938945548148222d0cee373c3d6b0b13fd9

11
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/justwantv on 2025-05-24 02:57:46+00:00.


Some audio sub would just muck this up… What all speakers or music services are you guys using. We have a mix of Echo Shows and Dots scattered around 5 in total. And one dot plugged into a 20 year old Sony 6.1 receiver tossed high on a shelf in the Laundry room that powers two outdoor pioneers speakers. I Call em’…”The Doggs” lol. Seriously that Sony is a 600 watt power killer I see as the weakest link that needs something much more efficient.

Then all our tvs are Roku. Which I can control simple things like volume pause etc with Alexa.

I like how I can play Amazon music on all the devices. But is this the best for playing sounds triggered by automations? Or is there some better way I can connect sound and music to HA.

I don’t have unlimited budget but what is something you use or something I can build on.

What are you running and why do you like it.

P.s. the number one factor is connectivity for me over sound quality to an extent. Also I don’t care about local vs hosted. That takes a back seat to connectivity also.

12
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/sessho86 on 2025-05-23 21:55:03+00:00.

13
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Kat81inTX on 2025-05-22 22:00:09+00:00.


As someone who worked in the semiconductor industry for 30+ years, including a lot of work on SoC thermal management, I'm a bit embarrassed to say that I trusted a vendor to sell me a properly designed Raspberry Pi 4 kit back in 2021.

I should have paid more attention, as it took me almost 4 years to notice the processor has been running way too hot.

Here's the CanaKit package I bought: https://imgur.com/M9OdLJc

Note that heat sinks were included, but no fan. I really should have been suspicious of a case with no air venting, but I'd deployed many RPi 1, 2 and 3 kits in similar cases with no problems. Of course, they weren't running multi-core CPUs at 1.2 GHz.

Recently while tuning the system, I installed Glances and was surprised the processor temp was hovering around 80°C with fairly low processor load. The top of the case never felt too warm, which should have tipped me off that the CPU heat was not being dissipated efficiently.

I popped the top off of the CanaKit case and enabled the System Monitor Processor Temperature sensor to observe the temp for a few hours ... it dropped to around 70°C almost immediately ... still too high, in my opinion.

A quick search on Amazon found a cheap fan-less aluminum heat sink case: https://a.co/d/dQ9Oev8

Moving the RPi 4 to that case dropped the temp to around 55°C under a typical load for my setup: https://imgur.com/ZysJrRt

If you're running an older Pi 4, you might want to check your processor temp to see if a cheap case upgrade will help you.

14
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/vFabifourtwenty on 2025-05-23 15:47:31+00:00.

15
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/jstimu on 2025-05-23 11:29:06+00:00.


https://preview.redd.it/axk7jl8eoi2f1.png?width=1920&format=png&auto=webp&s=a0920d046022ceb21877daf125fa4129bd15cbaa

These are the cards completed so far and working on some more cards, If you have any suggestion let me know..

Any feedback will be appreciated

Thanks

16
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/cdemi on 2025-05-22 19:25:20+00:00.

17
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/bultodepapas on 2025-05-23 02:48:23+00:00.


For two years, ZHA worked perfectly in my setup. I’m running Home Assistant with multiple Zigbee, all evenly distributed throughout a two-story house. Everything was fast, responsive, and rock-solid — even during power outages, the network would recover seamlessly. I never had a single issue.

But recently, something changed — maybe an update, I’m not sure. Now, about half of my devices either don’t connect, drop off randomly, or behave inconsistently. Rebinding doesn’t help. Power-cycling coordinators or endpoints does nothing. I’ve tried all the usual troubleshooting steps, but the problems persist. Some devices work intermittently, others not at all.

It’s driving me crazy. I used to love Zigbee and ZHA because it just worked. Now I’m constantly chasing ghosts. Anyone else experiencing this? Any ideas?

18
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/nokerb on 2025-05-23 01:41:41+00:00.

19
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/SLR_Winter on 2025-05-22 21:06:38+00:00.

20
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/portalqubes on 2025-05-22 14:05:52+00:00.


Or most complicated*

21
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/NoodleCheeseThief on 2025-05-22 13:59:58+00:00.

22
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/marcinbauer-me on 2025-05-22 07:02:23+00:00.


Hello to you all!

Marcin here again, product designer from the Open Home Foundation, working on Home Assistant.

This time, I'd like to invite you to participate in a card sorting test focused on making navigating Home Assistant settings easier and faster.

This is a fully remote and unmoderated test, which means you can complete it independently, at your own pace, and whenever it's convenient for you. It should take about 15-20 minutes to complete.

To participate, follow this link:

https://usabi.li/do/eb0dubhtcqau/swhkz0 🎉 🙂

If you have any questions or encounter any issues, feel free to comment below or reach out directly.

**Browser Compatibility Notice:** For the best experience while taking the test, we ask you to use a desktop or laptop computer. In past tests, some of you ran into issues accessing the test because of certain browser checks our software has in place. Unfortunately, we can't fix those problems right now. But no worries—you can easily access the test using Chrome, Firefox, or Safari!

Thank you for helping us make Home Assistant even better!

Cheers 👋

23
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Swollef on 2025-05-22 10:10:06+00:00.


I've been a home assistant users for the last 5-6 years, ive slowly added and upgraded my system to a point where im very happy with it but most of all its been incredibly stable (HA on proxmox with a UPS).

I'm about to move in to a new house that requires a full rewire (among other things), this seems like my chance to get everything permanently wired in for HA, not just smart plugs and shelly devices behind the switches.

one of my major worries is that HA or the Wi-Fi goes down leaving me little control over the house.

my initial thought was to setup shelly din rail devices with shelly I4 devices for light switches, the problem here is that I have to above problem that if the Wi-Fi drops out or HA goes down I've literally zero control of lighting. the other alternative is I wire it traditionally and have switches on the relays too, this seems somewhat backwards in my head in 2025, but maybe a necessity, but does remove the need for the i4 devices.

the other option seems to be KNX, which I know nothing about but have started their ecampus learning course. looking at prices, I could order an awful lot of shelly devices for the price of a single KNX actuator.

if you where rewiring a home with the intention of it being a smart home, what underlying technology would you use to run your smart home (obviously it should integrate well with HA)?

Edit to add: I'm in the UK

Edit 2: Wow thanks for the responses and the comments on individual hardware pieces, by the sounds of it, KNX is exactly what im looking for, I'll start doing my research now :)

24
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/EmeraldLapras on 2025-05-22 00:59:11+00:00.

25
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/MattTelles7 on 2025-05-21 16:00:12+00:00.


Both Cloudflare tunnel and Nabu Casa expose the login page to the public internet. However, people seem to keep telling me that I shouldn’t use Cloudflare because it exposes the login screen to the internet. Yet so does Nabu…

I’m confused, I don’t know much about networking, but I’d like to have my stuff accessible to devices that can’t use a VPN. Can anyone give me a clear explanation as to why one is more secure than the other and why I shouldn’t use Cloudflare? Or maybe I can use Cloudflare proxy but with other security measures?

view more: next ›