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:
user897943 2022-05-18 23:25:42 +01:00 committed by Jesse Hills
parent 420dacb22d
commit 6617d576a7
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -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_;