Giter Site home page Giter Site logo

Comments (15)

andrey-git avatar andrey-git commented on August 28, 2024 1

I pushed a new version. Could someone check if it fixes the issue?

from home-assistant-custom-ui.

gunnarbeutner avatar gunnarbeutner commented on August 28, 2024 1

I noticed that as well, here's what I use:

  customize_glob:
    light.*:
      custom_ui_state_card: custom-ui
      state_card_mode: single-line
      hide_control: true
      slider_theme:
        min: 0
        max: 255

from home-assistant-custom-ui.

jer78 avatar jer78 commented on August 28, 2024

Sorry the formatting is off here but it’s correct in my yaml file. Using my phone to post :(

from home-assistant-custom-ui.

andrey-git avatar andrey-git commented on August 28, 2024

The config is probably OK, but please use "```" before and after config text to format it: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code-and-syntax-highlighting

from home-assistant-custom-ui.

acateon avatar acateon commented on August 28, 2024

Dont know if it has something to do with the new HA release but I just tried it out and the dimmer slides don't work.

2017-07-05 22:27:44 ERROR (MainThread) [homeassistant.components.websocket_api] WS 2923331152: Message incorrectly formatted: required key not provided @ data['service']. Got None

These keep firing when moving the slider...

from home-assistant-custom-ui.

clemon79 avatar clemon79 commented on August 28, 2024

I don't think it's just Hue sliders...I have a custom template I wrote for a HomeBrite Bluetooth light that is having the same issue. On and off works, sliding the slider has no effect and often quickly pops up a lost connection warning.

from home-assistant-custom-ui.

gunnarbeutner avatar gunnarbeutner commented on August 28, 2024

I'm seeing the same problem here. Resetting my Git repository to '4539bf4 Use updated mixin' seems to fix this.

It seems like some change in '637b74c Support for context-aware attributes. Also on display and togle type cards.' broke sliders.

from home-assistant-custom-ui.

gunnarbeutner avatar gunnarbeutner commented on August 28, 2024

Works for me. Thank you very much. :)

from home-assistant-custom-ui.

clemon79 avatar clemon79 commented on August 28, 2024

Mostly works for me. Is there a way to define the range of the slider? By default it seems to be 0 to 100, but the default Brightness slider with a light.template goes from 0 to 255.

from home-assistant-custom-ui.

clemon79 avatar clemon79 commented on August 28, 2024

Aw yeah, perfect! Thanks much!

from home-assistant-custom-ui.

acateon avatar acateon commented on August 28, 2024

Still got the same error...

2017-07-06 12:17:23 ERROR (MainThread) [homeassistant.components.websocket_api] WS 2867411376: Message incorrectly formatted: required key not provided @ data['service']. Got None

    light.*:
      custom_ui_state_card: custom-ui
      state_card_mode: break-slider
      stretch_slider: true
      hide_control: false
      show_last_changed: false
      slider_theme:
        min: 0
        max: 255
        pin: true
        off_when_min: false
        report_when_not_changed: false``` 

from home-assistant-custom-ui.

andrey-git avatar andrey-git commented on August 28, 2024

@acateon
Could you open browser dev tools (Ctrl+Shift+I or F12 on Chrome) and check which CustomUI version is printed in the console (and if there are errors there)

from home-assistant-custom-ui.

acateon avatar acateon commented on August 28, 2024

Using CustomUI 20170702

ready @ frontend-bdcde46….html:5
_readySelf @ frontend-bdcde46….html:1
_ready @ frontend-bdcde46….html:1
_readyClients @ frontend-bdcde46….html:1
_ready @ frontend-bdcde46….html:1
_readyClients @ frontend-bdcde46….html:1
_ready @ frontend-bdcde46….html:1
_tryReady @ frontend-bdcde46….html:1
_constructorImpl @ frontend-bdcde46….html:4
r @ frontend-bdcde46….html:4
stamp @ frontend-bdcde46….html:4
_ensureInstance @ frontend-bdcde46….html:4
_render @ frontend-bdcde46….html:4
complete @ frontend-bdcde46….html:2
boundComplete @ frontend-bdcde46….html:2
_atEndOfMicrotask @ frontend-bdcde46….html:2
window.MutationObserver.observe.characterData @ frontend-bdcde46….html:2
state-card-custom-ui.html:1 Using CustomUI 20170702
states:1 Uncaught (in promise) undefined```

from home-assistant-custom-ui.

acateon avatar acateon commented on August 28, 2024

Clearing the browser cache solved the problem. Working fine now.

Using CustomUI 20170706

from home-assistant-custom-ui.

jer78 avatar jer78 commented on August 28, 2024

Awesome! Update fixed it. Thanks

from home-assistant-custom-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.