mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-12-23 16:57:47 +01:00
Add current_temp step (#384)
This commit is contained in:
parent
682138b2a9
commit
4860af1edf
@ -817,7 +817,7 @@ message ListEntitiesClimateResponse {
|
||||
repeated ClimateMode supported_modes = 7;
|
||||
float visual_min_temperature = 8;
|
||||
float visual_max_temperature = 9;
|
||||
float visual_temperature_step = 10;
|
||||
float visual_target_temperature_step = 10;
|
||||
// for older peer versions - in new system this
|
||||
// is if CLIMATE_PRESET_AWAY exists is supported_presets
|
||||
bool legacy_supports_away = 11;
|
||||
@ -830,6 +830,7 @@ message ListEntitiesClimateResponse {
|
||||
bool disabled_by_default = 18;
|
||||
string icon = 19;
|
||||
EntityCategory entity_category = 20;
|
||||
float visual_current_temperature_step = 21;
|
||||
}
|
||||
message ClimateStateResponse {
|
||||
option (id) = 47;
|
||||
|
File diff suppressed because one or more lines are too long
@ -485,7 +485,10 @@ class ClimateInfo(EntityInfo):
|
||||
visual_max_temperature: float = converter_field(
|
||||
default=0.0, converter=fix_float_single_double_conversion
|
||||
)
|
||||
visual_temperature_step: float = converter_field(
|
||||
visual_target_temperature_step: float = converter_field(
|
||||
default=0.0, converter=fix_float_single_double_conversion
|
||||
)
|
||||
visual_current_temperature_step: float = converter_field(
|
||||
default=0.0, converter=fix_float_single_double_conversion
|
||||
)
|
||||
legacy_supports_away: bool = False
|
||||
|
Loading…
Reference in New Issue
Block a user