diff --git a/ops/nixos/totoro/home-assistant.nix b/ops/nixos/totoro/home-assistant.nix index 9426d8f964..ce170f21de 100644 --- a/ops/nixos/totoro/home-assistant.nix +++ b/ops/nixos/totoro/home-assistant.nix @@ -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"; + }]; + }]; }]; }]; };