home-assistant: add qrcode module, expand local offset for radiators

This commit is contained in:
Sandro - 2024-02-01 00:46:46 +01:00
parent 3757449ad2
commit e48d4535b1
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 19 additions and 0 deletions

View File

@ -99,6 +99,9 @@ in
];
ldap.enable = true;
package = (pkgs.home-assistant.override {
extraPackages = ps: with ps; [
pyqrcode # for TOTP qrcode
];
# those tests take a long(er) time and can't be sped up with pytest-xdist
packageOverrides = _: prev: let
noTests.doCheck = false;
@ -108,6 +111,7 @@ in
};
}).overrideAttrs ({ patches ? [ ], ... }: {
patches = patches ++ [
../../overlays/home-assistant-local_temperature_calibration.diff
../../overlays/home-assistant-no-cloud.diff
];

View File

@ -0,0 +1,15 @@
diff --git a/homeassistant/components/zha/number.py b/homeassistant/components/zha/number.py
index 24964d7a15..4c43958f41 100644
--- a/homeassistant/components/zha/number.py
+++ b/homeassistant/components/zha/number.py
@@ -956,8 +956,8 @@ class ThermostatLocalTempCalibration(ZHANumberConfigurationEntity):
"""Local temperature calibration."""
_unique_id_suffix = "local_temperature_calibration"
- _attr_native_min_value: float = -2.5
- _attr_native_max_value: float = 2.5
+ _attr_native_min_value: float = -5.0
+ _attr_native_max_value: float = 5.0
_attr_native_step: float = 0.1
_attr_multiplier: float = 0.1
_attribute_name = "local_temperature_calibration"