<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>kgz.me - Klaus Zanders</title><link>https://kgz.me/</link><description>Recent content on kgz.me - Klaus Zanders</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sat, 30 May 2026 12:00:00 +0200</lastBuildDate><atom:link href="https://kgz.me/index.xml" rel="self" type="application/rss+xml"/><item><title>Home Assistant History Map</title><link>https://kgz.me/code/home-assistant-history-map/</link><pubDate>Fri, 07 Feb 2025 16:23:31 +0100</pubDate><guid>https://kgz.me/code/home-assistant-history-map/</guid><description>Original source: https://userbag.co.uk/development/home-assistant-exploring-location-history/
HACS Repos:
https://github.com/nathan-gs/ha-map-card https://github.com/thomasloven/lovelace-card-mod views: - type: panel title: Historische Karte icon: mdi:map cards: - type: grid square: false cards: - type: energy-date-selection card_mod: style: | ha-card { z-index: 1; position: absolute; height: 80px !important; width: 80%; top: 75px; right: 10px; max-width: 450px; } - type: custom:map-card history_date_selection: true card_size: 10 entities: - entity: device_tracker.some-device color: red card_mod: style: | ha-card { margin-top: -10px; } ha-card #map { height:calc(100vh - 56px); border-radius:0; } columns: 1</description></item><item><title>PostgreSQL - enforce only one column filled via constraint</title><link>https://kgz.me/code/postgres-only-one-constraint/</link><pubDate>Tue, 08 Aug 2023 15:04:55 +0200</pubDate><guid>https://kgz.me/code/postgres-only-one-constraint/</guid><description>Recently I got a task, that required me to ensure that of two columns, either none, or only one get filled. That should be ensured on the database level. In my #ruby code it would be easy to add a validation to check for this, but as we are doing manual inserts into the DB, we need to also make sure, that the database enforces this constraint.
Luckily, postgres has a feature for us, that was introduced in version 9.</description></item><item><title>Welcome Again</title><link>https://kgz.me/article/welcome-again/</link><pubDate>Fri, 04 Oct 2019 22:44:28 +0200</pubDate><guid>https://kgz.me/article/welcome-again/</guid><description>This is another try on a reboot of this blog &amp;hellip; Let&amp;rsquo;s see if this is works this time ;)
Enjoy, Klaus</description></item></channel></rss>