lovelace-slider-entity-row icon indicating copy to clipboard operation
lovelace-slider-entity-row copied to clipboard

Fan Icon doesn't update and Fan toggle requires 2 activations to turn off

Open TiddlyWiddly opened this issue 3 years ago • 3 comments

My Home Assistant version: 2021.11.1

My lovelace configuration method (GUI or yaml): yaml

What I am doing: Turning on the fan and turning off the fan

What I expected to happen: I expected that the toggle would turn off the fan. I expected that the icon would update with status change when turned on.

What happened instead: I have to activate the toggle twice to turn off the fan. The status is not reflected in the icon when the toggle is turned on.

Minimal steps to reproduce:

# The least ammount of code possible to reproduce my error
type: entities
entities:
  - type: custom:slider-entity-row
    entity: fan.office_fan
    toggle: true
title: Switches
state_color: true

# End of code

Error messages from the browser console:


By putting an X in the boxes ([X]) below, I indicate that I:

  • [X] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
  • [X] Have made sure I am using the latest version of the plugin.
  • [X] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
  • [X] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

TiddlyWiddly avatar Nov 09 '21 04:11 TiddlyWiddly

Please find your fan entity in developer-tools/state and show me what it looks like when on and off.

thomasloven avatar Nov 09 '21 07:11 thomasloven

It also seems to do this weird thing where I toggle it on and the toggle turns off for a second while the fan ramps up, then toggles itself back on. These behaviors happen on mobile as well as in the browser.

On:

speed_list: off, low, medium, high 
preset_modes:  
speed: high 
percentage: 100 
percentage_step: 1.0101010101010102 
preset_mode: null 
friendly_name: Office Fan 
supported_features: 1
--

Off:

speed_list: off, low, medium, high 
preset_modes:  
speed: off 
percentage: 0 
percentage_step: 1.0101010101010102 
preset_mode: null 
friendly_name: Office Fan 
supported_features: 1
--

TiddlyWiddly avatar Nov 09 '21 13:11 TiddlyWiddly

This appears to be related to this issue that I found in the community as the behavior is very similar and I'm using the same switch: https://community.home-assistant.io/t/ge-enbrighten-fan-controller-incorrectly-reporting-on-off-state/334036

TiddlyWiddly avatar Nov 14 '21 02:11 TiddlyWiddly