mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 16:58:07 +01:00
Update bedjet_const.h to remove blank spaces before speed steps, fixes Unknown Error when using climate.set_fan_mode in HA (#3476)
This commit is contained in:
parent
420dacb22d
commit
6617d576a7
@ -66,8 +66,8 @@ enum BedjetCommand : uint8_t {
|
|||||||
|
|
||||||
#define BEDJET_FAN_STEP_NAMES_ \
|
#define BEDJET_FAN_STEP_NAMES_ \
|
||||||
{ \
|
{ \
|
||||||
" 5%", " 10%", " 15%", " 20%", " 25%", " 30%", " 35%", " 40%", " 45%", " 50%", " 55%", " 60%", " 65%", " 70%", \
|
"5%", "10%", "15%", "20%", "25%", "30%", "35%", "40%", "45%", "50%", "55%", "60%", "65%", "70%", "75%", "80%", \
|
||||||
" 75%", " 80%", " 85%", " 90%", " 95%", "100%" \
|
"85%", "90%", "95%", "100%" \
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *const BEDJET_FAN_STEP_NAMES[20] = BEDJET_FAN_STEP_NAMES_;
|
static const char *const BEDJET_FAN_STEP_NAMES[20] = BEDJET_FAN_STEP_NAMES_;
|
||||||
|
Loading…
Reference in New Issue
Block a user