Home assitant: update config

This commit is contained in:
Filippo Berto 2023-06-17 17:12:54 +02:00
parent ac4f95f577
commit 85aa43536a
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -84,7 +84,10 @@ with lib; {
}; };
blueman.enable = true; blueman.enable = true;
dbus.packages = [ pkgs.dconf ]; dbus.packages = [ pkgs.dconf ];
esphome = { enable = true; openFirewall = true; }; esphome = {
enable = true;
openFirewall = true;
};
fail2ban = { fail2ban = {
enable = true; enable = true;
bantime-increment.enable = true; bantime-increment.enable = true;
@ -325,12 +328,13 @@ with lib; {
automation = "!include automations.yaml"; automation = "!include automations.yaml";
scene = "!include scenes.yaml"; scene = "!include scenes.yaml";
assist_pipeline = { };
cloud = { }; cloud = { };
config = { }; config = { };
device_tracker = [{ # device_tracker = [{
platform = "bluetooth_tracker"; # platform = "bluetooth_tracker";
request_rssi = true; # request_rssi = true;
}]; # }];
esphome = { }; esphome = { };
frontend = { }; frontend = { };
# google_assistant = { project_id = "light-cathode-372118"; }; # google_assistant = { project_id = "light-cathode-372118"; };
@ -340,10 +344,31 @@ with lib; {
logger.default = "info"; logger.default = "info";
"map" = { }; "map" = { };
mobile_app = { }; mobile_app = { };
notify = [
{
platform = "telegram";
name = "t_filippo";
chat_id = "!secret filippo_t_chat_id";
}
{
platform = "telegram";
name = "t_famiglia";
chat_id = "!secret famiglia_t_chat_id";
}
];
recorder.purge_keep_days = 30; recorder.purge_keep_days = 30;
shopping_list = { }; shopping_list = { };
sun = { }; sun = { };
system_health = { }; system_health = { };
telegram_bot = [{
# platform = "polling";
platform = "webhooks";
api_key = "!secret telegram_api_key";
allowed_chat_ids = [
"!secret filippo_t_chat_id"
"!secret famiglia_t_chat_id"
];
}];
tts = [{ tts = [{
platform = "google_translate"; platform = "google_translate";
language = "it"; language = "it";
@ -362,8 +387,8 @@ with lib; {
"bayesian" "bayesian"
"binary_sensor" "binary_sensor"
"blueprint" "blueprint"
"bluetooth_le_tracker" # "bluetooth_le_tracker"
"bluetooth_tracker" # "bluetooth_tracker"
"button" "button"
"camera" "camera"
"cast" "cast"
@ -383,6 +408,7 @@ with lib; {
"dlna_dmr" "dlna_dmr"
"dlna_dms" "dlna_dms"
"esphome" "esphome"
"fail2ban"
"flux" "flux"
"gdacs" "gdacs"
"google" "google"