Vigyata.AI
Is this your channel?

Home Assistant Frontend Development

3.6K views· 15 likes· 85:07· Oct 13, 2020

🛍️ Products Mentioned (1)

Finishing up some lingering PRs in the Home Assistant Frontend Repo Sponsor Me: https://github.com/sponsors/zsarnett/dashboard

About This Video

Tonight’s stream was me doing what I always say I’m going to do: “finish up a few lingering PRs”… and then immediately getting dragged into the reality of Home Assistant frontend development. I started by looking at the Picture Card because it behaves weird in horizontal stacks when cards are stretching to match height. The big debate is whether the image should become a background image (with cover/contain behavior) or stay as an actual <img> that preserves aspect ratio. The problem is, once you start resizing with drag & drop, picture cards can look straight-up broken if the card grows but the image doesn’t fill the space. After that, I jumped into an older PR around the entities card header/footer editor and basically hit merge-conflict hell. Coming back to code from “forever ago” is brutal—tons of files touched, UI editor patterns changed since then, and now I’m trying to reconcile old assumptions with the newer editor architecture. I also rambled (because, obviously) about why we keep adding if-statements for every editor and why this whole thing should be more generic and event-driven. Main takeaway: frontend PRs aren’t hard because of the code you write today—they’re hard because everything around them keeps moving. And yes, I ended the stream with basically nothing merged, but a clearer plan for what needs to be redone.

Frequently Asked Questions

🎬 More from Zack Barett