Notepad++ show line numbers
It’s a little hidden imo, so future-me or for your service – the setting to show the line numbers.

I like to use the “other view” feature of Notepad++ to show two files side by side. As I often have compare them I really like the synchronized vertical scrolling option which scrolls them both at the same time. There’s an icon you can click, but I prefer to use a key binding to toggle…
Yeah we all can loop, but can you any or all? Checking if condition matches for at least one element of an iterable (e.g. list, tuple, set) In Python you can write that nicer with the builtin method any(): But who doesn’t like a one-liner (that is understandable): Very similar is the case if you…
Not everything is like shorts for computer science students – some other things only make sense in certain months. Like my webscrapers for the current water temperature of the outside pool or the warning system for below 0°C degress. To hide them in the HomeAssistant UI I created a helper that is filled with the…
For a container class with a dictionary with config values (among other members) I wanted easy reading access as if it was a dict itself. For that you only have to implement the __getitem__ method. You can extend the provided dict functionality for your class if needed like the following: All but the update method…
Plain and simple (or better in the case I forget it again). You can add the device when pulling and starting the HomeAssistant container. Make sure to adapt config path to yours.Add “–device/dev/NameOfDevice” If you don’t know the path of the USB device you can see a list of them with this command: I a…
Generally speaking this is how I learned to cache a JSON object in a Node-RED flow with the Change node by setting a flow based variable. Specifically this handles a problem with HomeAssistants light card backed by a MQTT light (defined in the configuration.yaml) only emitting partial values of the light setting when updating. New…