Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slider-entity-row doesn't work any more for fan #248

Closed
SeByDocKy opened this issue Apr 15, 2022 · 18 comments
Closed

Slider-entity-row doesn't work any more for fan #248

SeByDocKy opened this issue Apr 15, 2022 · 18 comments

Comments

@SeByDocKy
Copy link

My Home Assistant version: 0.XXX.X

2022.4.4
My lovelace configuration method (GUI or yaml):

GUI/ lovelace-slider-entity-row 17.1.0

What I am doing:

What I expected to happen:

The slider is no more appearing ...

What happened instead:
Nothing shown

Minimal steps to reproduce:

type: entities
entities:
  - entity: fan.geothermie_soufflerie
    name: Soufflerie
    show_state: true
    type: custom:slider-entity-row
show_header_toggle: false
state_color: true
title: Soufflerie

# End of code

Error messages from the browser console:


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

  • [] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
  • [] Have made sure I am using the latest version of the plugin.
  • [] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
  • [] 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.
@avdwilk
Copy link

avdwilk commented Apr 15, 2022

I have the same after the update of april

@SeByDocKy
Copy link
Author

FYI, my fan is defined in ESPhome. The slider stopped to work after the last update.....

@SeByDocKy
Copy link
Author

I think it's more an HA problem ....

@Sensemann2010
Copy link

For me the same, only for FAN control slider is not working. With lights is still no problem.
I've seen the lost of function after updating HAS 2022.4.6 and HACKS 1.24.5 to latest versions yesterday.
I'm using slider-entity-row v.17.1.0

Here my YAML wich has worked until yesterday:
type: entities
title: Lüftungssteuerung
entities:

  • type: custom:slider-entity-row
    entity: fan.luftungssteuerung_sollwert
    step: 3

@alexruffell
Copy link

alexruffell commented Apr 22, 2022

I was using this for all my 4 speed ceiling fans and today I noticed all the sliders vanished.

Example code for my office fan slider:

type: entities
style: |
  .card-header {
  font-size: 18px;
  padding: 2px 15px 2px 15px
  }
entities:
  - type: section
  - type: custom:slider-entity-row
    entity: light.office_light
    toggle: true
    name: Office Light
  - type: custom:slider-entity-row
    entity: fan.office_fan
    toggle: true
    name: Ceiling Fan
  - type: custom:slider-entity-row
    entity: light.office_ceiling_light
    toggle: true
    name: Ceiling Light
  - type: custom:slider-entity-row
    entity: light.office_workbench_light
    toggle: true
    name: Workbench Light
title: Main Lights & Fans
state_color: true

@dmak
Copy link

dmak commented Apr 22, 2022

Log reads:

2022-04-22 22:31:54 ERROR (MainThread) [frontend.js.latest.202204050] https://.../local/slider-entity-row.js?v=17.1.0:1:1 Uncaught SyntaxError: Identifier 'e' has already been declared

When I have downgraded to v16, the plugin started to work. It looks that the issue drills to top-most function, which declares e and hence triggers the error:

function t(t,e,s,i){

@evrydayzawrkday
Copy link

Have confirmed, as of 4/27/22 on the latest HASS version this is no longer working as described above.

@thomasloven
Copy link
Owner

Could someone with this problem show me how your fan looks in /developer-tools/state
E.g. this:
image

Preferrable when on, off and set to some different speeds.

@alexruffell
Copy link

@thomasloven All my fan controllers have 4 speeds:

image

image

image

image

image

A few HA Core versions back there were some changes made that affected the fans and it had to do with their speed control, but I can't recall what specifically. Anyhow, unless I did not notice for so long, I believe the slider disappeared more recently.

@evrydayzawrkday
Copy link

evrydayzawrkday commented Apr 28, 2022

@thomasloven this issue is now fixed with the last update (17.2.1)

Fan example:
image

Lights example:
image

Thank you! I just downloaded this recently, and love the functionality

@alexruffell
Copy link

alexruffell commented Apr 28, 2022

Yup, fixed for me too! Right after my post I got the update:

image

@thomasloven THANK YOU !!!

@avdwilk
Copy link

avdwilk commented Apr 28, 2022

where can i download the update?

@alexruffell
Copy link

alexruffell commented Apr 28, 2022

@thomasloven Likely out of scope of this ticket, but I noticed that the state_color: true for all the entities has no effect on the icon of the ceiling fan unless I add an additional state_color: true just for the ceiling fan. Is this a bug needing its own issue or is it per design?

My YAML for the sliders is a few posts above: #248 (comment)

@alexruffell
Copy link

where can i download the update?

I installed it via HACS so the update was shown as available on HACS.

@avdwilk
Copy link

avdwilk commented Apr 28, 2022

ahh, i did not, but i have hacs installed. maybe do it from there. is there a manual to do it from there?

@thomasloven
Copy link
Owner

17.2.1. was released in October . . .

@avdwilk
Copy link

avdwilk commented Apr 28, 2022

yes found it, i will change it tomorrow, thanks

@alexruffell
Copy link

17.2.1. was released in October . . .

I check for updates daily. It was only offered to me today... wonder why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants