Loki: HASS -> remove sensor

This commit is contained in:
Filippo Berto 2024-07-22 08:22:23 +02:00
parent 8fc60b369b
commit 18e087638a
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
2 changed files with 25 additions and 66 deletions

50
flake.lock generated
View file

@ -10,11 +10,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1718371084,
"narHash": "sha256-abpBi61mg0g+lFFU0zY4C6oP6fBwPzbHPKBGw676xsA=",
"lastModified": 1720546205,
"narHash": "sha256-boCXsjYVxDviyzoEyAk624600f3ZBo/DKtUdvMTpbGY=",
"owner": "ryantm",
"repo": "agenix",
"rev": "3a56735779db467538fb2e577eda28a9daacaca6",
"rev": "de96bd907d5fbc3b14fc33ad37d1b9a3cb15edc6",
"type": "github"
},
"original": {
@ -252,11 +252,11 @@
]
},
"locked": {
"lastModified": 1719827385,
"narHash": "sha256-qs+nU20Sm8czHg3bhGCqiH+8e13BJyRrKONW34g3i50=",
"lastModified": 1720042825,
"narHash": "sha256-A0vrUB6x82/jvf17qPCpxaM+ulJnD8YZwH9Ci0BsAzE=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "391ca6e950c2525b4f853cbe29922452c14eda82",
"rev": "e1391fb22e18a36f57e6999c7a9f966dc80ac073",
"type": "github"
},
"original": {
@ -327,11 +327,11 @@
]
},
"locked": {
"lastModified": 1719841141,
"narHash": "sha256-WOyohxFJJdfDvEB7N3eTcX44lNU2rZes1inHsyHL7mM=",
"lastModified": 1720859326,
"narHash": "sha256-i8BiZj5faQS6gsupE0S9xtiyZmWinGpVLwxXWV342aQ=",
"owner": "nix-community",
"repo": "nixos-generators",
"rev": "140dcc2b9a0eb87ba5e9011076a1a7af19179ab1",
"rev": "076ea5b672bb1ea535ee84cfdabd0c2f0b7f20c7",
"type": "github"
},
"original": {
@ -342,11 +342,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1719895800,
"narHash": "sha256-xNbjISJTFailxass4LmdWeV4jNhAlmJPwj46a/GxE6M=",
"lastModified": 1721413321,
"narHash": "sha256-0GdiQScDceUrVGbxYpV819LHesK3szHOhJ09e6sgES4=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "6e253f12b1009053eff5344be5e835f604bb64cd",
"rev": "ab165a8a6cd12781d76fe9cbccb9e975d0fb634f",
"type": "github"
},
"original": {
@ -404,27 +404,27 @@
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1718811006,
"narHash": "sha256-0Y8IrGhRmBmT7HHXlxxepg2t8j1X90++qRN3lukGaIk=",
"lastModified": 1720386169,
"narHash": "sha256-NGKVY4PjzwAa4upkGtAMz1npHGoRzWotlSnVlqI40mo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "03d771e513ce90147b65fe922d87d3a0356fc125",
"rev": "194846768975b7ad2c4988bdb82572c00222c0d7",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-23.11",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-u": {
"locked": {
"lastModified": 1719848872,
"narHash": "sha256-H3+EC5cYuq+gQW8y0lSrrDZfH71LB4DAf+TDFyvwCNA=",
"lastModified": 1721379653,
"narHash": "sha256-8MUgifkJ7lkZs3u99UDZMB4kbOxvMEXQZ31FO3SopZ0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "00d80d13810dbfea8ab4ed1009b09100cca86ba8",
"rev": "1d9c2c9b3e71b9ee663d11c5d298727dace8d374",
"type": "github"
},
"original": {
@ -436,11 +436,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1720023543,
"narHash": "sha256-5zeNYG6y8/rcdKL/Onhh84WP6/8gYgTC7fC63ZM2+5Y=",
"lastModified": 1721600110,
"narHash": "sha256-i0ULX9B/Ps3j1/fIvwuymSLLxjCnO+buWVF1eMK7+D0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ab02aaff3517c7667aad7b72b1f7e126decbef12",
"rev": "d99222e20d9a82262038c0ac7bac94c38750126e",
"type": "github"
},
"original": {
@ -485,11 +485,11 @@
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
"lastModified": 1719259945,
"narHash": "sha256-F1h+XIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4=",
"lastModified": 1721042469,
"narHash": "sha256-6FPUl7HVtvRHCCBQne7Ylp4p+dpP3P/OYuzjztZ4s70=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07",
"rev": "f451c19376071a90d8c58ab1a953c6e9840527fd",
"type": "github"
},
"original": {

View file

@ -356,7 +356,6 @@ in
"scene"
"script"
"select"
"sensor"
"switch"
"vacuum"
];
@ -373,46 +372,6 @@ in
];
recorder.purge_keep_days = 30;
script = "!include scripts.yaml";
sensor = [
# {
# platform = "systemmonitor";
# resources = [
# { type = "disk_use_percent"; }
# { type = "disk_use"; }
# { type = "disk_free"; }
# { type = "memory_use_percent"; }
# { type = "memory_use"; }
# { type = "memory_free"; }
# { type = "swap_use_percent"; }
#
{ type = "swap_use"; }
# { type = "swap_free"; }
# { type = "load_1m"; }
# { type = "load_5m"; }
# { type = "load_15m"; }
# { type = "network_in"; arg = "eno1"; }
# { type = "network_out"; arg = "eno1"; }
# { type = "throughput_network_in"; arg = "eno1"; }
# { type = "throughput_network_out"; arg = "eno1"; }
# { type = "packets_in"; arg = "eno1"; }
# { type = "packets_out"; arg = "eno1"; }
# { type = "ipv4_address"; arg = "eno1"; }
# { type = "ipv6_address"; arg = "eno1"; }
# { type = "network_in"; arg = "ztmjfdwjkp"; }
# { type = "network_out"; arg = "ztmjfdwjkp"; }
# { type = "throughput_network_in"; arg = "ztmjfdwjkp"; }
# { type = "throughput_network_out"; arg = "ztmjfdwjkp"; }
# { type = "packets_in"; arg = "ztmjfdwjkp"; }
# { type = "packets_out"; arg = "ztmjfdwjkp"; }
# { type = "ipv4_address"; arg = "ztmjfdwjkp"; }
# { type = "ipv6_address"; arg = "ztmjfdwjkp"; }
# { type = "processor_use"; }
# { type = "processor_temperature"; }
# # { type = "process"; arg = "octave-cli"; }
# { type = "last_boot"; }
# ];
# }
];
shopping_list = { };
sun = { };
system_health = { };