Cleanup dashboard JS (#491)

* Cleanup dashboard JS

* Add vscode

* Save start_mark/end_mark

* Updates

* Updates

* Remove need for cv.nameable

It's a bit hacky but removes so much bloat from integrations

* Add enum helper

* Document APIs, and Improvements

* Fixes

* Fixes

* Update PULL_REQUEST_TEMPLATE.md

* Updates

* Updates

* Updates
This commit is contained in:
Otto Winter
2019-04-22 21:56:30 +02:00
committed by GitHub
parent 6682c43dfa
commit 8e75980ebd
359 changed files with 4395 additions and 4223 deletions
+9 -1
View File
@@ -92,6 +92,9 @@ mqtt:
if (x.containsKey("effect"))
effect = x["effect"];
return effect;
- light.control:
id: living_room_lights
brightness: !lambda 'return id(living_room_lights).current_values.get_brightness() + 0.5;'
i2c:
sda: 21
@@ -211,6 +214,8 @@ sensor:
payload: Hello
qos: 2
retain: True
- platform: esp32_hall
name: ESP32 Hall Sensor
- platform: ads1115
multiplexer: 'A0_A1'
gain: 1.024
@@ -433,6 +438,9 @@ sensor:
resolution: 4
min_value: -10
max_value: 30
- platform: pulse_width
name: Pulse Width
pin: GPIO12
- platform: sht3xd
temperature:
name: "Living Room Temperature 8"
@@ -1141,7 +1149,7 @@ cover:
id: template_cover
lambda: |-
if (id(binary_sensor1).state) {
return cover::COVER_OPEN;
return COVER_OPEN;
} else {
return {};
}