2021.12
This is now the top thread of all time 😮
- Releases on GitHub to segment changes
- All releases - matt8707/hass-config/releases
- All changes - matt8707/hass-config/commits/master
- Installation notes added further down
- Hardware and docker-compose files
Buttons custom:button-card
- hide "extra_styles fix" - make the "catch-all" button non-clickable (#injecting-css-with-extra_styles)
- bug fixes and improvements ™ - shorten overall template code, fix loader on computer lock and tv icon animation
- person last_changed persistence with fallback - if set up, the timestamp is retained with mqtt across restarts
- add person zone - location is shown instead of "not home" when in a zone
- fix icon light color - color temperature shown as blue, hs shown as actual color
- button-card → light-popup-card actions and theme - revert button-card workaround, make use of actions
- fix text alignment when #name is truncated... - on small screens, the text was centered when the name didn't fit
- align lock icon on ios - on small screens the lock icon was not vertically aligned
Theme custom:card-mod
- card-mod resource → module - documentation #performance-improvements
- fix brave icon height and firefox shrinking icons - brave and firefox browser compatibility
- swipe-card height - force 100% height when only using button cards in a grid
- themes sidebar_update_color fix 2021.11.0 - ha-icon is now called ha-state-icon
Sidebar
- mailbox sensors and automation - add mailbox counter (using two aqara contact sensors)
- sidebar battery map entities - list all batteries below the 5% threshold, thanks @Se7enair
- add time offset to skånetrafiken PT sensor - "walking time" bus departure offset
Database
💡 SQL command to list worst offenders. I managed to decrease my db size by ≈ 80%
docker exec -it mariadb \
mysql homeassistant -u"root" -p"password" \
-e"SELECT entity_id, COUNT(*) AS count FROM states GROUP BY entity_id ORDER BY COUNT(*) DESC LIMIT 10;" \
-e"SELECT JSON_VALUE(event_data, '$.entity_id') AS entity_id, COUNT(*) AS count FROM events WHERE JSON_VALUE(event_data, '$.entity_id') IS NOT NULL GROUP BY JSON_VALUE(event_data, '$.entity_id') ORDER BY COUNT(*) DESC LIMIT 10;"
- db optimization - exclude browser_mod from recorder
- lower db commit interval - decrease recorder interval and influxdb precision
Other
- @svalmorri made a nice button for roller shutters
- remove valetudo - don't want to spend my time maintaining a vacuum cleaner...
- vacuum-map-card 1 → 2 - configuration changes and styling
- fix vacuum sensors for 2021.11.1, maybe? - template seconds to percent left
- mini-graph-card → apexcharts - better graphs, I posted some examples
- update template sensors, remove legacy - convert all legacy template sensors
- template warnings and stfu home-assistant.log - template "default" log warnings
- add unifi and rpi sensors - command_line sensors for router and raspberry pi
If you want, you can buy me a beer 😊