Lots of pretification - BREAKING CHANGES
This commit is contained in:
99
README.md
99
README.md
@@ -1,38 +1,79 @@
|
||||
slider-entity-row
|
||||
=================
|
||||
|
||||
Add a slider to adjust brightness of lights, volume of media players or position of covers in lovelace entity cards
|
||||
|
||||
Proof of concept
|
||||
|
||||
No support given - if you don't know how to get this to work, that is probably a good thing for now.
|
||||
|
||||
|
||||
---
|
||||

|
||||
|
||||
```yaml
|
||||
resources:
|
||||
- url: /local/slider-entity-row.js
|
||||
type: js
|
||||
- title: slider-entity-row
|
||||
cards:
|
||||
- type: entities
|
||||
title: Domains
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- input_number.slider
|
||||
|
||||
- type: section
|
||||
label: light
|
||||
- type: custom:slider-entity-row
|
||||
entity: light.bed_light
|
||||
- type: custom:slider-entity-row
|
||||
entity: light.ceiling_lights
|
||||
- type: custom:slider-entity-row
|
||||
entity: light.kitchen_lights
|
||||
|
||||
views:
|
||||
title: My view
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: light.my_lamp
|
||||
name: A dimmable lamp
|
||||
type: custom:slider-entity-row
|
||||
- type: section
|
||||
label: media_player
|
||||
- type: custom:slider-entity-row
|
||||
entity: media_player.bedroom
|
||||
- type: custom:slider-entity-row
|
||||
entity: media_player.living_room
|
||||
- type: custom:slider-entity-row
|
||||
entity: media_player.lounge_room
|
||||
- type: custom:slider-entity-row
|
||||
entity: media_player.walkman
|
||||
|
||||
- type: section
|
||||
label: cover
|
||||
- type: custom:slider-entity-row
|
||||
entity: cover.hall_window
|
||||
- type: custom:slider-entity-row
|
||||
entity: cover.garage_door
|
||||
- type: custom:slider-entity-row
|
||||
entity: cover.living_room_window
|
||||
|
||||
- type: entities
|
||||
title: Options
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- type: section
|
||||
label: default
|
||||
- type: custom:slider-entity-row
|
||||
entity: light.bed_light
|
||||
- type: custom:slider-entity-row
|
||||
entity: media_player.bedroom
|
||||
- type: custom:slider-entity-row
|
||||
entity: cover.hall_window
|
||||
|
||||
- type: section
|
||||
label: "toggle: true"
|
||||
- type: custom:slider-entity-row
|
||||
entity: light.bed_light
|
||||
toggle: true
|
||||
|
||||
- type: section
|
||||
label: "full_row: true"
|
||||
- entity: light.bed_light
|
||||
- type: custom:slider-entity-row
|
||||
entity: light.bed_light
|
||||
full_row: true
|
||||
- entity: media_player.bedroom
|
||||
- type: custom:slider-entity-row
|
||||
entity: media_player.bedroom
|
||||
full_row: true
|
||||
- entity: cover.hall_window
|
||||
- type: custom:slider-entity-row
|
||||
entity: cover.hall_window
|
||||
full_row: true
|
||||
```
|
||||

|
||||
|
||||
|
||||
### Other options
|
||||
|
||||
`hide_toggle: true` - Remove toggle
|
||||
|
||||
`break_slider: true` - Put slider on separate row
|
||||
|
||||
`hide_when_off: true` - Hide the slider when the light is off
|
||||
|
||||
`show_value: true` - Show the current dimmer value instead of toggle.
|
||||
|
||||
Reference in New Issue
Block a user