From cd7562ab283c68e1d779e2fac4a41fcaa68785a4 Mon Sep 17 00:00:00 2001 From: finity69x2 <32221243+finity69x2@users.noreply.github.com> Date: Sat, 10 Apr 2021 14:15:01 -0400 Subject: [PATCH] Update fan-percent-button-row.js --- dist/fan-percent-button-row.js | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/fan-percent-button-row.js b/dist/fan-percent-button-row.js index da125c7..2720e29 100644 --- a/dist/fan-percent-button-row.js +++ b/dist/fan-percent-button-row.js @@ -316,6 +316,7 @@ class CustomFanPercentRow extends Polymer.Element { const level = e.currentTarget.getAttribute('name'); const param = {entity_id: this._config.entity}; if( level == 'off' ){ + this.hass.callService('fan', 'turn_off', param); param.percentage = this._offSP; this.hass.callService('fan', 'set_percentage', param); } else if (level == 'low') {