From 53edce04ef69f7fec14c2d433ec0788e3dd547de Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 25 Jul 2024 21:04:19 -0600 Subject: sys/home-assistant: enable wake-on-lan --- sys/home-assistant/hass.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sys/home-assistant/hass.nix b/sys/home-assistant/hass.nix index 5fd9103..4a3ba31 100644 --- a/sys/home-assistant/hass.nix +++ b/sys/home-assistant/hass.nix @@ -35,6 +35,7 @@ in "google_translate" "radio_browser" "tuya" + "wake_on_lan" "webostv" "xiaomi_miio" ]; @@ -43,6 +44,15 @@ in # Includes dependencies for a basic setup # https://www.home-assistant.io/integrations/default_config/ default_config = { }; + + switch = [ + # Televisor 192.168.42.205 + # TODO: No sirve por 192.168.34 vs 192.168.42 + { + platform = "wake_on_lan"; + mac = "74:40:be:58:5f:da"; + } + ]; }; customComponents = with pkgs.home-assistant-custom-components; [ -- cgit v1.2.3