Commit graph

299 commits

Author SHA1 Message Date
Otto Winter
d29b280d82
Fix component.update action (#308)
Fixes https://github.com/OttoWinter/esphomeyaml/issues/286
2019-01-08 12:15:03 +01:00
Otto Winter
01b49e8d59
Home Assistant platform tests 2019-01-06 19:03:34 +01:00
Otto Winter
52dbd35118
Add neopixelbus tests 2019-01-06 16:59:11 +01:00
Otto Winter
92439abeb4
Add tests, Fix stuff 2019-01-06 11:43:14 +01:00
Otto Winter
94cb7bf6bd
Validate MQTT enabled for MQTT options 2019-01-06 09:47:47 +01:00
Otto Winter
cdf53cb3e8
Remove component that was never added 2019-01-06 09:47:28 +01:00
Otto Winter
30bd74cb6c
Simplify validator 2019-01-06 09:47:14 +01:00
Otto Winter
e72ef9e061
Add ESP32 Ethernet Support (#301)
* Fix

* Build flags

* Fix
2019-01-05 20:47:33 +01:00
Otto Winter
3f4bba57f4
ULN2003 Support (#304) 2019-01-05 20:11:31 +01:00
sherbang
38c24fd100 Add support for MAX31855 sensor (#258)
* Add support for MAX31855 sensor

* Update for latest core changes

* Update max31855.py
2019-01-05 20:08:25 +01:00
Otto Winter
c6ed88579f
Add neopixelbus component (#303) 2019-01-05 20:01:19 +01:00
Otto Winter
7f9462ebf3
Add APDS9960 Support (#300) 2019-01-05 19:52:01 +01:00
Otto Winter
4e44081fdf
Add clean MQTT discovery option for native API (#302) 2019-01-05 19:51:01 +01:00
Otto Winter
3cd1c2d723
Fix Python 3 conversion errors
Fixes #299
2019-01-05 14:24:15 +01:00
Otto Winter
907be3025c
Supply return_type for more lambdas 2019-01-03 20:39:54 +01:00
Otto Winter
815da05b29
Fix OTA Auth for Python 3 2019-01-03 19:54:36 +01:00
Otto Winter
a2083fc901
Add ACE searchbox 2019-01-03 19:54:21 +01:00
Otto Winter
06cb7497c8
Another fix for Python 3 2019-01-03 17:09:28 +01:00
Otto Winter
1e12cba176
Fixes for Python 3 Compatability (#297) 2019-01-03 16:05:33 +01:00
Vladimir Eremin
1d0c812e44 GPIO Switch Fix restore_mode validator (#296) 2019-01-02 18:24:47 +01:00
Otto Winter
4948ad95b0
Lint 2019-01-02 18:24:20 +01:00
Otto Winter
dd801636af
Fix Interval Trigger 2019-01-02 16:49:26 +01:00
Otto Winter
22fd4ec722
Make compatible with python 3 (#281)
* Make compatible with python 3

* Update travis

* Env

* Fix typo

* Fix install correct platformio

* Lint

* Fix build flags

* Lint

* Upgrade pylint

* Lint
2019-01-02 14:11:11 +01:00
Otto Winter
5db70bea3c
Toggle Auto-Update Check With Environment Variable (#292) 2019-01-02 14:02:59 +01:00
Otto Winter
00ff99cc7d
Addressable Lights (#294) 2019-01-02 13:04:27 +01:00
Otto Winter
a51eaa93b5
GPIO Switch Restore Mode (#287) 2019-01-02 12:30:55 +01:00
Otto Winter
eddaee3a80
Fix MQTT message trigger (#282)
Fixes https://github.com/OttoWinter/esphomelib/issues/335
2019-01-02 12:29:29 +01:00
Otto Winter
2b432ea829
Disable SPIFFS to save flash space (#288) 2019-01-02 12:29:15 +01:00
Otto Winter
09ab55b85d
API Server Watchdog (#290) 2019-01-02 12:27:16 +01:00
Otto Winter
183e0f4d23
Fix ESP8266 verbose logging (#291) 2019-01-02 12:27:05 +01:00
Otto Winter
a8c17e5d05
Fix host network (#280)
* Fix Add-On host network mode

* Split up esphomeyaml tests

* Fix perms

* Fix

* Add esphomeyaml_version option

* Revert change to travis.yml
2019-01-02 12:21:26 +01:00
Otto Winter
2e65d6c02c
Api fixes (#289)
* API Client Fixes

* Fix redirect stdout stderr
2019-01-02 12:15:13 +01:00
Otto Winter
07da8950c4
Lint 2019-01-02 12:02:28 +01:00
Otto Winter
c206846816
Better internal debugging 2018-12-30 12:46:08 +01:00
Otto Winter
6aac4191f8
Hash dashboard resources 2018-12-24 14:29:11 +01:00
Otto Winter
5a7b66e207
Fix some stuff 2018-12-24 14:15:54 +01:00
Otto Winter
da2821ab36
Add native ESPHome API (#265)
* Esphomeapi

* Updates

* Remove MQTT from wizard

* Add protobuf to requirements

* Fix

* API Client updates

* Dump config on API connect

* Old WiFi config migration

* Home Assistant state import

* Lint
2018-12-18 19:31:43 +01:00
Otto Winter
7556845079
Fix download binary button for firefox 2018-12-07 10:17:19 +01:00
Otto Winter
7c7032c59e
[Huge] Util Refactor, Dashboard Improvements, Hass.io Auth API, Better Validation Errors, Conditions, Custom Platforms, Substitutions (#234)
* Implement custom sensor platform

* Update

* Ethernet

* Lint

* Fix

* Login page

* Rename cookie secret

* Update manifest

* Update cookie check logic

* Favicon

* Fix

* Favicon manifest

* Fix

* Fix

* Fix

* Use hostname

* Message

* Temporary commit for screenshot

* Automatic board selection

* Undo temporary commit

* Update esphomeyaml-edge

* In-dashboard editing and hosting files locally

* Update esphomeyaml-edge

* Better ANSI color escaping

* Message

* Lint

* Download Efficiency

* Fix gitlab

* Fix

* Rename extra_libraries to libraries

* Add example

* Update README.md

* Update README.md

* Update README.md

* HassIO -> Hass.io

* Updates

* Add update available notice

* Update

* Fix substitutions

* Better error message

* Re-do dashboard ANSI colors

* Only include FastLED if user says so

* Autoscroll logs

* Remove old checks

* Use safer RedirectText

* Improvements

* Fix

* Use enviornment variable

* Use http://hassio/host/info

* Fix conditions

* Update platformio versions

* Revert "Use enviornment variable"

This reverts commit 7f038eb5d2.

* Fix

* README update

* Temp

* Better invalid config messages

* Platformio debug

* Improve error messages

* Debug

* Remove debug

* Multi Conf

* Update

* Better paths

* Remove unused

* Fixes

* Lint

* lib_ignore

* Try fix platformio colors

* Fix dashboard scrolling

* Revert

* Lint

* Revert
2018-12-05 21:22:06 +01:00
Otto Winter
2b88c987da
Fix GPIO input schema validator (#253) 2018-12-02 13:16:02 +01:00
Otto Winter
3d49ffa134
Time SNTP validate server format (#254) 2018-12-02 13:15:28 +01:00
Otto Winter
f2f869db89
Bump HassIO version to v1.9.3 2018-12-01 13:23:16 +01:00
Otto Winter
e37e986276
CSE7766 update interval (#250)
* CSE7766 update interval

* PollingComponent
2018-12-01 13:19:34 +01:00
Otto Winter
5d5529ff15
Bump HassIO version to v1.9.2 2018-11-25 18:00:20 +01:00
Otto Winter
db90a7a334
Add Logo and Icon to HassIO add-on (#241) 2018-11-23 13:51:39 +01:00
Otto Winter
bb9c1faffa
Improve one_of validator (#240) 2018-11-23 13:51:22 +01:00
Otto Winter
b4c4dc8cfb
Bump HassIO version to v1.9.1 2018-11-19 23:01:27 +01:00
Otto Winter
c3b2ab0085
Fix SNTP servers option (#237)
* Fix SNTP servers option

* Lint
2018-11-19 22:49:06 +01:00
Otto Winter
f087e313d4
Bump HassIO version to v1.9.0 2018-11-15 12:07:20 +01:00
Otto Winter
f88cf99b67
Cleanup git auto-update 2018-11-15 10:13:32 +01:00
Otto Winter
f394968bd0
Fix fastled lambda light effect
Fixes #232
2018-11-15 10:13:21 +01:00
Otto Winter
9b07bb6608
Fix my9231 IDs not being resolved 2018-11-13 19:00:36 +01:00
Otto Winter
f368255739
Update MY9231 2018-11-13 16:53:46 +01:00
puuu
083c2fce05 Add MY9231 support (#227) 2018-11-13 16:51:30 +01:00
Otto Winter
c99d4e2815
Deep Sleep Wake Up From Multiple Pins (#230) 2018-11-13 15:36:49 +01:00
Otto Winter
39457f7b8c
Enable nodelay for phase 1 of OTAv2 2018-11-13 15:31:14 +01:00
Otto Winter
01aaf14078
Add frequency option to ESP8266 PWM 2018-11-13 12:02:19 +01:00
Otto Winter
15331edb78
Let esphomeyaml know about class inheritance (#229)
* Allow overriding setup priority

* Add inheritance tree

* Global variables

* Tests and better validation

* Fix

* Lint
2018-11-12 23:30:31 +01:00
Otto Winter
4f375757a5
Better validation error messages 2018-11-12 21:00:17 +01:00
Otto Winter
58f4fa53d0
Make Switch not inherit from Component 2018-11-10 14:07:11 +01:00
Otto Winter
04dc848620
Improve OTAv2 error messages 2018-11-10 11:45:38 +01:00
Otto Winter
8203b8fcd3
Add total daily energy sensor (#220)
* Add total daily energy sensor

* Add test
2018-11-09 20:27:19 +01:00
Otto Winter
0ad61f4a95
Add binary sensor multi click trigger (#226) 2018-11-09 20:18:04 +01:00
Otto Winter
9fd4076ab8
Revert Add power on value to GPIO switch (#223)
* Revert Add power on value to GPIO switch

* Fix tests

* Fix
2018-11-09 20:08:35 +01:00
Otto Winter
a9e799cb06
Clean up time API (#221) 2018-11-09 20:08:16 +01:00
Otto Winter
3ec931ffa4
Add restore state option to template switch (#222)
* Add restore state option to template switch

* Add test
2018-11-09 20:05:50 +01:00
Otto Winter
e3094d9689
OTA Send back acknowledgement 2018-11-09 14:27:12 +01:00
Otto Winter
3594779401
Better typing to components (#225)
* Add better typing

* Fix
2018-11-08 16:01:07 +01:00
Otto Winter
94978d0063
Fix HLW8012 Voltage Divider option not being added to source (#224) 2018-11-07 23:27:06 +01:00
Otto Winter
415e12309b
Improve OTA v2 error and log messages 2018-11-07 22:41:54 +01:00
Otto Winter
27b86d89b0
Add generate home assistant config command (#208)
* Add generate home assistant config command

* Lint

* Lint
2018-11-03 14:08:31 +01:00
Otto Winter
36da3b85d5
Auto-Decode stacktraces (#214)
* Auto-Decode stacktraces

* Fix Gitlab CI
2018-11-03 14:06:14 +01:00
Otto Winter
e9d9de448e
Fix output actions 2018-10-31 16:27:30 +01:00
Otto Winter
08c16020c6
Fix output platforms 2018-10-29 22:46:00 +01:00
Otto Winter
0ade9baf65
Fix automation validation 2018-10-27 14:10:37 +02:00
Otto Winter
2fab7e73b9
Add send_first_at option to sliding window sensor filter (#207)
* Add send_first_at option to sliding window sensor filter

* Lint
2018-10-26 22:59:03 +02:00
Otto Winter
af4e2bf61d
Add Stepper Motor Support (#206)
* Add stepper support

* Fix output set_level

* Lint
2018-10-26 22:57:03 +02:00
Otto Winter
21c22fe04a
Bump version to 1.10.0-dev 2018-10-20 18:32:06 +02:00
Otto Winter
15732ca465
Bump version to 1.9.0b1 2018-10-20 18:24:02 +02:00
Otto Winter
8e0f4f93d4
Fix HassIO add-on archs 2018-10-20 18:20:42 +02:00
Otto Winter
8bbfbc4cc1
Add logger.log action (#198)
* Add logger.log Action

* Simple schema

* Validate printf

* Improve error message

* Undo unfix tests :)
2018-10-20 15:19:59 +02:00
Otto Winter
8c5d12df51
Fix some typos (#202) 2018-10-20 15:18:12 +02:00
Otto Winter
25c66ed8ca
Improve API naming convention consistency (#197)
* Improve API naming convention consistency

* Fix
2018-10-20 15:16:58 +02:00
Otto Winter
7a55521807
Fix rebase error 2018-10-20 15:08:55 +02:00
Otto Winter
d04de7baeb
Fix value range trigger 😑 (#201) 2018-10-20 14:40:46 +02:00
Otto Winter
4aeb756388
Fix triggers being interpreted as a sequence of automations (#199) 2018-10-20 13:15:09 +02:00
Otto Winter
92b6ed4180
Add FastLED color correction option (#200)
* Add FastLED color correction option

* Add test
2018-10-20 13:14:02 +02:00
Otto Winter
9efd9f4fe8
Add PMSX003 Particulate Matter Sensor (#192) 2018-10-20 12:58:52 +02:00
Otto Winter
34fc2147a4
Add update component action and scripts (#196)
* Add update component action

* Add script component
2018-10-20 12:58:02 +02:00
Otto Winter
629f2b128e
Add MQTT publish JSON action and subscribe JSON trigger (#193)
* Add MQTT publish JSON action and subscribe JSON trigger

* Lint
2018-10-20 12:41:00 +02:00
Otto Winter
81bc400340
Add PN532 On Tag Trigger (#189)
* Add PN532 On Tag Trigger

* Lint

* Fix 😶

* Fix
2018-10-17 21:29:44 +02:00
Otto Winter
75628b96a1
Add Text Sensors (#166)
* Text Sensors

* Add version text sensor

* Fix

* Fixes

* Add tests

* Add template text sensor

* Lint

* Fix test
2018-10-17 21:24:02 +02:00
Otto Winter
b1f7ed4fdc
Add CSE776 for Sonoff Pow R2 (#190) 2018-10-17 21:14:31 +02:00
Otto Winter
b8d7185d99
Unify Xiaomi implementations (#188) 2018-10-17 20:56:55 +02:00
Otto Winter
2d20a1c0fb
Decentralize Automation Generator Code (#182)
* Decentralize Automation Generator Code

* Lint
2018-10-16 23:16:06 +02:00
Otto Winter
820067ae5a
GPIO Switch Power On Value v2 (#183) 2018-10-16 22:58:26 +02:00
Otto Winter
db8313e0d5
Fix config dump time output (#184) 2018-10-16 20:45:24 +02:00
Otto Winter
27a77c685d
Rework OTA to be more stable (#177)
* Rework OTA to be more stable

* Lint
2018-10-14 19:14:28 +02:00
Otto Winter
e34365dc7c
Add clean build files command and auto-clean on version change (#181)
* Add clean build files command and auto-clean on version change

* Update __main__.py
2018-10-14 18:52:21 +02:00
Otto Winter
8d395e5338
MQTT different log level (#167)
* Add option to have different log level over MQTT

* Add Test

* Lint
2018-10-14 18:46:17 +02:00