fixing stuff
This commit is contained in:
parent
95ec634d1a
commit
39114092c0
4 changed files with 22 additions and 5 deletions
|
@ -236,7 +236,6 @@ in {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.home-assistant = {
|
services.home-assistant = {
|
||||||
|
|
|
@ -21,7 +21,16 @@ in {
|
||||||
services.zigbee2mqtt = {
|
services.zigbee2mqtt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#package = pkgs.own_zigbee2mqtt;
|
#package = pkgs.own_zigbee2mqtt;
|
||||||
package = unstable.zigbee2mqtt;
|
#package = unstable.zigbee2mqtt;
|
||||||
|
package = unstable.zigbee2mqtt.overrideAttrs (old: rec {
|
||||||
|
version = "1.18.1";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "Koenkk";
|
||||||
|
repo = "zigbee2mqtt";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1x73k346ayik5hv5axa3nvmd82mgwyrpxqv3dxnffi8aa1r8pf8x";
|
||||||
|
};
|
||||||
|
});
|
||||||
config = {
|
config = {
|
||||||
|
|
||||||
# Home Assistant integration (MQTT discovery)
|
# Home Assistant integration (MQTT discovery)
|
||||||
|
|
|
@ -57,11 +57,18 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver.displayManager.defaultSession = "plasma5";
|
services.xserver.displayManager.defaultSession = "plasma5";
|
||||||
services.xserver.desktopManager.pantheon.enable = true;
|
|
||||||
services.xserver.desktopManager.plasma5.enable = true;
|
services.xserver.desktopManager.pantheon.enable = false;
|
||||||
services.xserver.desktopManager.xfce.enable = true;
|
services.xserver.desktopManager.xfce.enable = false;
|
||||||
services.xserver.desktopManager.gnome3.enable = false;
|
services.xserver.desktopManager.gnome3.enable = false;
|
||||||
|
|
||||||
|
services.xserver.desktopManager.cinnamon.enable = true;
|
||||||
|
services.xserver.desktopManager.lxqt.enable = true;
|
||||||
|
services.xserver.desktopManager.mate.enable = true;
|
||||||
|
|
||||||
|
services.xserver.desktopManager.plasma5.enable = true;
|
||||||
|
services.xserver.desktopManager.plasma5.phononBackend = "vlc";
|
||||||
|
|
||||||
# stuff
|
# stuff
|
||||||
# -----
|
# -----
|
||||||
custom.samba-share = {
|
custom.samba-share = {
|
||||||
|
|
|
@ -17,6 +17,8 @@ class Heater:
|
||||||
payload = {
|
payload = {
|
||||||
"system_mode": "auto",
|
"system_mode": "auto",
|
||||||
"current_heating_setpoint": self.wanted_temperature,
|
"current_heating_setpoint": self.wanted_temperature,
|
||||||
|
#"occupied_heating_setpoint": self.wanted_temperature,
|
||||||
|
#"unoccupied_heating_setpoint": self.wanted_temperature,
|
||||||
"eurotronic_host_flags": {"window_open": True}
|
"eurotronic_host_flags": {"window_open": True}
|
||||||
}
|
}
|
||||||
return json.dumps(payload)
|
return json.dumps(payload)
|
||||||
|
|
Loading…
Reference in a new issue