changes for home assistang, add browsers to nb

This commit is contained in:
2023-12-14 18:01:46 +01:00
parent 3b207db752
commit 8b20f2b13c
8 changed files with 86 additions and 39 deletions

View File

@@ -154,6 +154,7 @@ in
"::1"
];
};
api = { };
history.exclude = {
entities = hiddenEntities;
domains = [

View File

@@ -128,6 +128,21 @@
}
];
}
{
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.kitchen_lights' }}" ];
sequence = [
{
service = "light.turn_on";
target = {
entity_id = "light.kitchen_lights";
};
data = {
brightness_pct = 30;
color_temp = 450;
};
}
];
}
{
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and state_attr(trigger.entity_id, 'is_deconz_group') != None }}" ];
sequence = [

View File

@@ -11,7 +11,7 @@
trigger = {
platform = "state";
entity_id = [
"person.dominik"
"device_tracker.dominiks_iphone"
];
from = "not_home";
to = "home";

View File

@@ -1,23 +0,0 @@
{
services.home-assistant.extraComponents = [
"mqtt_room"
"opnsense"
];
services.home-assistant.config = {
opnsense = {
url = "https://fw.cloonar.com/api";
api_secret = "!secret opnsense_api_secret";
api_key = "!secret opnsense_api_key";
};
sensor = [
{
platform = "mqtt_room";
name = "Dominiks iPhone BLE";
device_id = "roomAssistant:d2a41d13-16bf-41fb-af4b-c520bdc7b68a";
# device_id = "0a666fe0ccd0d587414fec9b9946168f";
state_topic = "espresense/rooms";
away_timeout = 30;
}
];
};
}