home-assistant: add qrcode module, expand local offset for radiators
This commit is contained in:
parent
3757449ad2
commit
e48d4535b1
|
@ -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
|
||||
];
|
||||
|
||||
|
|
|
@ -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"
|
Loading…
Reference in New Issue