19 Commits

Author SHA1 Message Date
Gabe Cook
96ed393e5c Add support for fan and input_select (#27)
Fix #18, fix #28 

* Add support for fan domain

* Fix fan status string when speeds are not numeric

* Add support for input_select domain

* Fan and input_select domains will change the max, min, and scale if all of their options (or speeds) are numeric

* Perform numeric check less often

* Remove numeric mode in favor of cleaner logic

* Change some one-liners to arrow functions

* Fix bug on getter for string based option lists

* Update README.md
2019-03-01 09:12:25 +01:00
be80ffd6bc Another bugfix 2019-02-14 14:05:36 +01:00
0c55603e48 Bugfix 2019-02-14 13:44:52 +01:00
cde2a9bc93 Make the element more well behaved 2019-02-14 12:18:04 +01:00
ba8f5049de Add some customization options. Fix #11 2019-01-20 21:43:18 +01:00
bf9cd55d4c Make cover positions integers 2019-01-20 21:27:59 +01:00
hulkhaugen
e2fbbe33fc
Removed excess </span> tag
As i'm trying to modify this element to my own liking, I found this </span> that seems to be without any opening "partner". Btw, what i'm trying to achieve is to have the inline slider moved to the right by removing the toggle, and allowing for longer entity names.
2018-11-29 12:12:54 +01:00
5e75f8b19e Fix alignment of toggles 2018-11-22 23:21:47 +01:00
d3a35345ae Lots of pretification - BREAKING CHANGES 2018-11-21 22:29:57 +01:00
d8004152a2 Support for media_player and cover 2018-11-21 21:24:26 +01:00
506a9dfdf4 Display value as text if asked to. Fixes #2, fixes #3. 2018-09-07 13:27:46 +02:00
a1f3dbf1cd Some preparation work 2018-09-07 12:49:47 +02:00
2c420a47e3 Display value when sliding. Addresses #2 2018-09-07 10:52:51 +02:00
11fc8d1b73 Only show sliders for dimmable lamps 2018-08-17 15:19:35 +02:00
d96c3033b2 Allow hiding slider when off. Resolves #1 2018-08-17 09:32:51 +02:00
b18c6bd425 Option to remove toggle and put slider on separate row 2018-08-16 23:07:37 +02:00
72bb2a73be Better use of Polymer 2018-08-16 15:31:38 +02:00
0576e46671 Remove unused function 2018-08-16 00:32:04 +02:00
063cb5bbbf Proof of concept 2018-08-15 22:21:48 +02:00