diff --git a/README.md b/README.md
index ba44335..053cf18 100644
--- a/README.md
+++ b/README.md
@@ -25,3 +25,10 @@ views:
type: custom:slider-entity-row
```

+
+
+### Other options
+
+`hide_control: true` - Remove toggle
+
+`break_slider: true` - Put slider on separate row
diff --git a/slider-entity-row.js b/slider-entity-row.js
index 6970de2..4f5bd29 100644
--- a/slider-entity-row.js
+++ b/slider-entity-row.js
@@ -8,11 +8,23 @@ class SliderEntityRow extends Polymer.Element {
paper-slider {
margin-left: auto;
}
+ .second-line paper-slider {
+ width: 100%;
+ }
+
+
+
+
+
+
+
`
}
@@ -20,6 +32,14 @@ class SliderEntityRow extends Polymer.Element {
return {
_hass: Object,
_config: Object,
+ hideControl: {
+ type: Boolean,
+ value: false,
+ },
+ breakSlider: {
+ type: Boolean,
+ value: false,
+ },
stateObj: {
type: Object,
value: null,
@@ -43,6 +63,10 @@ class SliderEntityRow extends Polymer.Element {
setConfig(config)
{
this._config = config;
+ if('hide_control' in config && config.hide_control)
+ this.hideControl = true;
+ if('break_slider' in config && config.break_slider)
+ this.breakSlider = true;
}
set hass(hass) {