mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Align Matter eve thermo offset max range with eve app (#140579)
* align eve thermo offset max range with eve app * fix tests
This commit is contained in:
parent
19bc54c1de
commit
e49b105724
@ -169,8 +169,8 @@ DISCOVERY_SCHEMAS = [
|
||||
device_class=NumberDeviceClass.TEMPERATURE,
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
translation_key="temperature_offset",
|
||||
native_max_value=25,
|
||||
native_min_value=-25,
|
||||
native_max_value=50,
|
||||
native_min_value=-50,
|
||||
native_step=0.5,
|
||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||
measurement_to_ha=lambda x: None if x is None else x / 10,
|
||||
|
@ -401,8 +401,8 @@
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'max': 25,
|
||||
'min': -25,
|
||||
'max': 50,
|
||||
'min': -50,
|
||||
'mode': <NumberMode.BOX: 'box'>,
|
||||
'step': 0.5,
|
||||
}),
|
||||
@ -439,8 +439,8 @@
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'temperature',
|
||||
'friendly_name': 'Eve Thermo Temperature offset',
|
||||
'max': 25,
|
||||
'min': -25,
|
||||
'max': 50,
|
||||
'min': -50,
|
||||
'mode': <NumberMode.BOX: 'box'>,
|
||||
'step': 0.5,
|
||||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user