!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

514 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant135 Servers

Load older messages


SenderMessageTime
30 Mar 2025
@continous:matrix.orgcontinousI'm done, it's working, how should I submit the package pull request? I've literally never submitted a package lol00:19:23
@continous:matrix.orgcontinousActually I'll just go look at the github maybe they'll have a guide00:20:04
@hexa:lossy.network@hexa:lossy.networkstart here https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#quick-start-to-adding-a-package00:24:53
@hexa:lossy.network@hexa:lossy.networkand feel free to link the PR here00:25:04
@hexa:lossy.network@hexa:lossy.network
  services.home-assistant.lovelaceConfig = {
    title = "hub.cccda.de";
    views = [
      space

      lounge
      kitchen
      workshop
    ];
  };
00:25:59
@hexa:lossy.network@hexa:lossy.network *
  services.home-assistant.lovelaceConfig = {
    title = "hub.cccda.de";
    views = [
      space

      lounge
      kitchen
      workshop
    ];
  };
00:26:04
@hexa:lossy.network@hexa:lossy.network *
  services.home-assistant.lovelaceConfig = {
    title = "hub.cccda.de";
    views = [
      space
      lounge
      kitchen
      workshop
    ];
  };
00:26:07
@hexa:lossy.network@hexa:lossy.networkbasically a list of views 😄 00:26:17
@hexa:lossy.network@hexa:lossy.network cc Ekleog 00:26:20
@hexa:lossy.network@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@hexa:lossy.network *

and a view is basically

  workshop = {
    title = "Workshop";
    cards = [ ... ];
  };
00:27:07
@hexa:lossy.network@hexa:lossy.networkI do reference them, because otherwise the nesting drives me crazy00:27:27
@leo:gaspard.ninjaEkleog 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
@leo:gaspard.ninjaEkleogthank you for the details!00:36:49
@hexa:lossy.network@hexa:lossy.networkah, ok00:40:07
@continous:matrix.orgcontinous 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:matrix.orgcontinousAlso add myself to maintainers01:26:28
@continous:matrix.orgcontinousSee: https://github.com/NixOS/nixpkgs/compare/master...Continous:nixpkgs:decora-wifi01:27:02
@hexa:lossy.network@hexa:lossy.networkthree commits01:27:26
@hexa:lossy.network@hexa:lossy.network
  • maintainers: add continous
  • python313Packages.decora-wifi: init at $version
  • home-assistant: update component-packages
01:27:55
@continous:matrix.orgcontinousSo I should submit each separately?01:28:12
@hexa:lossy.network@hexa:lossy.network the last commit needs to be generated by running ./pkgs/server/home-assistant/update-component-packages.py 01:28:17
@hexa:lossy.network@hexa:lossy.networkone PR, three commits01:28:21
@continous:matrix.orgcontinousSo the last commit I should ommit, or run update-component-packages.py and commit the output?01:29:09
@continous:matrix.orgcontinous* So the last commit I should ommit, or run ``update-component-packages.py and commit the output?01:29:24
@continous:matrix.orgcontinous* So the last commit I should ommit, or run update-component-packages.py and commit the output?01:29:33
@hexa:lossy.network@hexa:lossy.networkrun the script and commit the result with the commit message as above01:29:39
@continous:matrix.orgcontinousOk.01:30:41
@continous:matrix.orgcontinousI sent it boys https://github.com/NixOS/nixpkgs/pull/39456009:36:39
@k900:0upti.meK900Added a few comments09:42:04

Show newer messages


Back to Room ListRoom Version: 6