homeassistant: expose sleep_mode to google
All checks were successful
flake / flake (push) Successful in 1m15s

This commit is contained in:
Jake Hillion 2024-08-04 17:04:25 +01:00
parent 2ecdafe1cf
commit 8a9498f8d7

View File

@ -81,6 +81,9 @@ in
report_state = true; report_state = true;
expose_by_default = true; expose_by_default = true;
exposed_domains = [ "light" ]; exposed_domains = [ "light" ];
entity_config = {
"input_boolean.sleep_mode" = { };
};
}; };
homekit = [{ homekit = [{
filter = { filter = {
@ -141,6 +144,13 @@ in
} }
]; ];
input_boolean = {
sleep_mode = {
name = "Set house to sleep mode";
icon = "mdi:sleep";
};
};
# UI managed expansions # UI managed expansions
automation = "!include automations.yaml"; automation = "!include automations.yaml";
script = "!include scripts.yaml"; script = "!include scripts.yaml";