fix: move hidden entities
This commit is contained in:
@@ -12,12 +12,7 @@ let
|
|||||||
"backup"
|
"backup"
|
||||||
];
|
];
|
||||||
|
|
||||||
ha-config = lib.recursiveUpdate config.services.home-assistant.config let
|
ha-config = lib.recursiveUpdate config.services.home-assistant.config {
|
||||||
hiddenEntities = [
|
|
||||||
"sensor.last_boot"
|
|
||||||
"sensor.date"
|
|
||||||
];
|
|
||||||
in {
|
|
||||||
recorder = {
|
recorder = {
|
||||||
db_url = "mysql://hass@localhost/hass?unix_socket=/var/run/mysqld/mysqld.sock";
|
db_url = "mysql://hass@localhost/hass?unix_socket=/var/run/mysqld/mysqld.sock";
|
||||||
};
|
};
|
||||||
@@ -51,7 +46,10 @@ let
|
|||||||
};
|
};
|
||||||
api = { };
|
api = { };
|
||||||
history.exclude = {
|
history.exclude = {
|
||||||
entities = hiddenEntities;
|
entities = [
|
||||||
|
"sensor.last_boot"
|
||||||
|
"sensor.date"
|
||||||
|
];
|
||||||
domains = [
|
domains = [
|
||||||
"automation"
|
"automation"
|
||||||
"updater"
|
"updater"
|
||||||
|
|||||||
Reference in New Issue
Block a user