totoro/home-assistant: some more dashboard fixups

This commit is contained in:
Luke Granger-Brown 2024-10-20 23:34:24 +01:00
parent 7ce0e5e66b
commit ae4cfbcb09

View file

@ -195,22 +195,64 @@ in {
entity = "light.bedroom_lights";
} {
type = "entities";
entities = ["switch.lukes_bedroom_mosquitto_repellent"];
entities = [{
name = "Mosquito Repellent";
entity = "switch.lukes_bedroom_mosquitto_repellent";
}];
}];
} {
type = "grid";
square = false;
columns = 1;
cards = [{
type = "entities";
entities = ["switch.samsung_soundbar_q930b"];
} {
type = "media-control";
entity = "media_player.nebula_3";
} {
type = "media-control";
entity = "media_player.shield_2";
}];
} {
type = "grid";
square = false;
columns = 1;
cards = [{
title = "Projector";
type = "entities";
entities = [{
name = "source";
entity = "select.hdmi_matrix_hdmi_1_projector";
} {
name = "Power (CEC)";
entity = "select.hdmi_matrix_hdmi_1_projector_cec_power";
icon = "mdi:power";
}];
} {
title = "Sound Bar";
type = "entities";
entities = [{
name = "Source";
entity = "select.hdmi_matrix_hdmi_2_sound_bar";
} {
name = "Power (Samsung SmartThings)";
entity = "switch.samsung_soundbar_q930b";
icon = "mdi:power";
} {
name = "Power (CEC)";
entity = "select.hdmi_matrix_hdmi_2_sound_bar_cec_power";
icon = "mdi:power";
}];
} {
title = "Side Monitor";
type = "entities";
entities = [{
name = "Source";
entity = "select.hdmi_matrix_hdmi_3_desk_monitor";
} {
name = "Power";
entity = "select.hdmi_matrix_hdmi_3_desk_monitor_cec_power";
icon = "mdi:power";
}];
}];
}];
}];
};