| 29 Mar 2025 |
@hexa:lossy.network | * just services.home-assistant.lovelaceConfig | 23:55:40 |
@hexa:lossy.network | I have both declarative setups as well as imperative ones | 23:56:00 |
@hexa:lossy.network | * I have both declarative setups as well as imperative ones (where lovelaceConfig = null) | 23:56:12 |
| 30 Mar 2025 |
Ekleog | hmm so how do you do multiple dashboards with a single lovelaceConfig? | 00:01:18 |
Ekleog | My understanding was you're supposed to do something like this to get multiple dashboards:
lovelace.dashboards = {
lovelace-volets = {
mode = "yaml";
title = "Volets";
icon = "mdi:window-shutter-open";
filename = "/etc/home-assistant/volets.yml";
};
};
| 00:01:53 |
Ekleog | unless there's some way to have multiple dashboards with a single big yaml file? but I've been unable to figure any such way out :/ | 00:02:48 |
Ekleog | oh fu i'm so stupid | 00:15:26 |
Ekleog | my file is named volets.yaml not volets.yml | 00:15:33 |
Ekleog | but wth home-assistant not even logging that the file does not exist ._. | 00:15:43 |
Ekleog | * but also wth home-assistant not even logging that the file does not exist ._. | 00:15:50 |
continous | I'm done, it's working, how should I submit the package pull request? I've literally never submitted a package lol | 00:19:23 |
continous | Actually I'll just go look at the github maybe they'll have a guide | 00:20:04 |
@hexa:lossy.network | start here https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#quick-start-to-adding-a-package | 00:24:53 |
@hexa:lossy.network | and feel free to link the PR here | 00:25:04 |
@hexa:lossy.network | services.home-assistant.lovelaceConfig = {
title = "hub.cccda.de";
views = [
space
lounge
kitchen
workshop
];
};
| 00:25:59 |
@hexa:lossy.network | * services.home-assistant.lovelaceConfig = {
title = "hub.cccda.de";
views = [
space
lounge
kitchen
workshop
];
};
| 00:26:04 |
@hexa:lossy.network | * services.home-assistant.lovelaceConfig = {
title = "hub.cccda.de";
views = [
space
lounge
kitchen
workshop
];
};
| 00:26:07 |
@hexa:lossy.network | basically a list of views 😄 | 00:26:17 |
@hexa:lossy.network | cc Ekleog | 00:26:20 |
@hexa:lossy.network | and a view is basically
workshop = {
title = "Workshop";
cards = [ {
type = "vertical-stack";
cards = [ {
type = "area";
area = "workshop";
}
(mkRoomSensor "c02a8b")
{
type = "media-control";
entity = "media_player.workshop";
} {
type = "entities";
entities = [
"button.wake_workshop"
{ type = "divider"; }
"climate.workshop_wandthermostat"
(mkShellyPlugS "workshop_powerstrip_left" "Powerstrip Links" "mdi:power-socket-eu")
(mkShellyPlugS "workshop_powerstrip_right" "Powerstrip Rechts" "mdi:power-socket-eu")
(mkShellyPlugS "workshop_amp" "Amp" "mdi:speaker")
];
} ];
} ];
};
| 00:26:45 |
@hexa:lossy.network | * and a view is basically
workshop = {
title = "Workshop";
cards = [ ... ];
};
| 00:27:07 |
@hexa:lossy.network | I do reference them, because otherwise the nesting drives me crazy | 00:27:27 |
Ekleog | hexa: oh ok yea so you only get views, not actual dashboards — I got a few views already but I want more than my phone's UI can reasonably display, so I'm testing out multiple dashboards with fewer views on each dashboard now 😄 | 00:36:41 |
Ekleog | thank you for the details! | 00:36:49 |
@hexa:lossy.network | ah, ok | 00:40:07 |
continous | hexa: I'm a bit confused, should I use the normal pull request template or no? I make a single line change to home-assistant's components nix file | 01:26:18 |
continous | Also add myself to maintainers | 01:26:28 |
continous | See:
https://github.com/NixOS/nixpkgs/compare/master...Continous:nixpkgs:decora-wifi | 01:27:02 |
@hexa:lossy.network | three commits | 01:27:26 |
@hexa:lossy.network |
- maintainers: add continous
- python313Packages.decora-wifi: init at $version
- home-assistant: update component-packages
| 01:27:55 |