Clean home-assistant configuration

This commit is contained in:
Andrea Ciceri 2024-11-21 10:11:40 +01:00
parent 0610fc96e9
commit 0fc04a3b18
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -70,15 +70,6 @@ in
"::1" "::1"
]; ];
}; };
# ffmpeg = {};
# camera = [
# {
# name = "EyeToy";
# platform = "ffmpeg";
# input = "/dev/video1";
# extra_arguments = "-vcodec h264";
# }
# ];
homeassistant = { homeassistant = {
unit_system = "metric"; unit_system = "metric";
time_zone = "Europe/Rome"; time_zone = "Europe/Rome";
@ -87,17 +78,6 @@ in
internal_url = "http://rock5b.fleet:8123"; internal_url = "http://rock5b.fleet:8123";
}; };
logger.default = "WARNING"; logger.default = "WARNING";
# backup = {};
# media_player = [{
# platform = "webostv";
# host = "10.1.1.213";
# name = "TV";
# timeout = "5";
# turn_on_action = {
# service = "wake_on_lan.send_magic_packet";
# data.mac = "20:28:bc:74:14:c2";
# };
# }];
wake_on_lan = { }; wake_on_lan = { };
switch = [ switch = [
{ {
@ -109,7 +89,6 @@ in
} }
]; ];
shell_command.turn_off_picard = ''${pkgs.openssh}/bin/ssh -i /var/lib/hass/.ssh/id_ed25519 -o StrictHostKeyChecking=no hass@picard.fleet "exec sudo \$(readlink \$(which systemctl)) poweroff"''; shell_command.turn_off_picard = ''${pkgs.openssh}/bin/ssh -i /var/lib/hass/.ssh/id_ed25519 -o StrictHostKeyChecking=no hass@picard.fleet "exec sudo \$(readlink \$(which systemctl)) poweroff"'';
# shell_command.turn_off_picard = ''whoami'';
prometheus = { prometheus = {
namespace = "hass"; namespace = "hass";
}; };