home-assistant: add new stuff

This commit is contained in:
Christoph Hollizeck 2025-12-08 23:16:32 +01:00
parent ee4d0909af
commit 48ea88b4f7
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

View file

@ -35,8 +35,9 @@
config = { config = {
homeassistant = { homeassistant = {
latitude = 49.4; latitude = 49.37;
longitude = 8.6; longitude = 8.66;
name = "Zone for Time";
temperature_unit = "C"; temperature_unit = "C";
unit_system = "metric"; unit_system = "metric";
@ -72,6 +73,12 @@
value_template = "{{ (states('sensor.holli_pc_power') | float / 10) | round(1) }}"; value_template = "{{ (states('sensor.holli_pc_power') | float / 10) | round(1) }}";
device_class = "energy"; device_class = "energy";
}; };
holli_desk_power_combined = {
friendly_name = "Holli Desk Power Combined";
unit_of_measurement = "W";
value_template = "{{ states('sensor.holli_pc_power_fixed') | float + states('sensor.holli_monitors_power_fixed') | float }}";
device_class = "energy";
};
}; };
} }
{ {
@ -111,7 +118,7 @@
entities = [ entities = [
{ entity = "person.christoph_hollizeck"; } { entity = "person.christoph_hollizeck"; }
{ entity = "person.kuralay_aman"; } { entity = "person.kuralay_aman"; }
{ entity = "zone.home"; } { entity = "zone.home_2"; }
]; ];
theme_mode = "auto"; theme_mode = "auto";
grid_options = { grid_options = {
@ -120,12 +127,11 @@
}; };
} }
{ {
show_current = true; type = "custom:clock-weather-card";
show_forecast = true;
type = "weather-forecast";
entity = "weather.forecast_home"; entity = "weather.forecast_home";
forecast_type = "hourly"; forecast_rows = 6;
forecast_slots = 5; date_pattern = "DDDD";
time_pattern = "HH:mm";
} }
{ {
display_order = "duedate_asc"; display_order = "duedate_asc";
@ -168,6 +174,9 @@
content = "# Hello {{ user }}\n"; content = "# Hello {{ user }}\n";
}; };
}; };
type = "sections";
max_columns = 1;
cards = [ ];
} }
{ {
type = "sections"; type = "sections";
@ -195,6 +204,58 @@
} }
]; ];
} }
{
type = "grid";
cards = [
{
type = "custom:mushroom-media-player-card";
entity = "media_player.bedroom";
media_controls = [
"previous"
"play_pause_stop"
"next"
"repeat"
"shuffle"
];
use_media_info = true;
show_volume_level = true;
fill_container = false;
grid_options = {
columns = "full";
rows = 2;
};
volume_controls = [
"volume_set"
"volume_mute"
];
collapsible_controls = true;
}
];
}
{
type = "grid";
cards = [
{
type = "history-graph";
entities = [
{
entity = "sensor.holli_monitors_power_fixed";
name = "Monitors + Misc";
}
{
entity = "sensor.holli_pc_power_fixed";
name = "PC";
}
{
entity = "sensor.holli_desk_power_combined";
name = "Combined";
}
];
hours_to_show = 0.25;
title = "Desk - Holli";
}
];
}
]; ];
cards = [ ]; cards = [ ];
} }