Skip to content

Commit

Permalink
Fix missing idle state on some EP2220 machines (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
TillFleisch authored Mar 16, 2024
1 parent 2f34a4b commit d9bb61a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace esphome
#ifdef PHILIPS_EP3243
if (data[3] == led_on && data[4] == led_on && data[5] == led_on && data[13] == led_off && data[14] == led_off && data[15] == led_off)
#else
if (data[3] == led_on && data[4] == led_on && data[5] == led_on && data[6] == led_on)
if (data[3] == led_on && data[4] == led_on && data[5] == led_on && data[6] != led_off)
#endif
{
// selecting a beverage can result in a short "busy" period since the play/pause button has not been blinking
Expand Down Expand Up @@ -114,7 +114,7 @@ namespace esphome
}

// Steam selected
if (data[3] == led_off && data[4] == led_off && data[5] == led_off && data[6] == led_on)
if (data[3] == led_off && data[4] == led_off && data[5] == led_off && data[6] != led_off)
{
#ifdef PHILIPS_EP2235
if (is_play_pause_blinking)
Expand Down

0 comments on commit d9bb61a

Please sign in to comment.