1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-15 07:08:20 +00:00

608 Commits

Author SHA1 Message Date
Otto Winter
5097b39d69 Add light restore mode
I don't want users to rely on setup priority.

Ref https://github.com/esphome/esphome-docs/pull/248
2019-05-27 19:22:16 +02:00
Brandon Davidson
d315d9b949 Don't fall back to the global availability topic if it is empty (#553)
Fixes esphome/issues#320
2019-05-27 17:21:01 +02:00
Otto Winter
1cf0d88caa Use relative include, add check 2019-05-27 13:06:45 +02:00
Otto Winter
50d9ce5544 Fix custom output, add test
Fixes https://github.com/esphome/issues/issues/346
2019-05-27 09:58:55 +02:00
Otto Winter
d38d93c9ff Add core version 2.5.2 2019-05-26 10:31:29 +02:00
Otto Winter
2df85a3844 Fix Switch Condition
Fixes https://github.com/esphome/issues/issues/322
2019-05-26 10:31:12 +02:00
Pavel Pletenev
23de2e1f70 Suggested fix for empty domain (#555)
* Suggested fix for empty domain

Signed-off-by: delphi <cpp.create@gmail.com>

* Added proposed changes

Signed-off-by: delphi <cpp.create@gmail.com>
2019-05-26 10:28:46 +02:00
Otto Winter
af9d5a28a5 Fix LEDC missing frequency/bit_depth
Fixes https://github.com/esphome/issues/issues/338#issuecomment-495810954
2019-05-25 09:02:18 +02:00
Otto Winter
8b6763e670 Lint 2019-05-24 23:08:04 +02:00
Otto Winter
ef0237c4ca Fix parse_float accepting invalid input 2019-05-24 19:32:59 +02:00
Otto Winter
7862855d14 Lint 2019-05-24 17:20:06 +02:00
Otto Winter
b73b6ed5d0 Fixes 2019-05-24 16:34:01 +02:00
Otto Winter
e22811907c Register components properly 2019-05-24 16:20:28 +02:00
Otto Winter
eab0c921fe Warn if not registered properly 2019-05-21 12:23:38 +02:00
Otto Winter
0303316677 Revert upgrade ESP8266 core
Binary size increased by 30kb
2019-05-16 18:34:51 +02:00
Otto Winter
052cfe07ec Improve OTA error message 2019-05-16 11:26:33 +02:00
Marcus Kempe
fcc35bde2f Bme680 pressure value fix (#550)
* Add heater bit masks

* Fix erroneous pressure value for BME680

* Revert "Add heater bit masks"

This reverts commit c7629f106c26c9524906b0d2d247a0041f4bf130.
2019-05-15 20:57:29 +02:00
Otto Winter
22b8567064 Update docker base image 2019-05-15 14:41:11 +02:00
Otto Winter
d54146bb96 Moar Custom platforms 2019-05-15 10:55:35 +02:00
Otto Winter
003e933fe0 CCS811 env_data 2019-05-14 11:40:35 +02:00
Otto Winter
8ec7aebb2b Lint 2019-05-13 21:53:14 +02:00
Otto Winter
427ed2fb5f remote updates 2019-05-13 20:45:22 +02:00
Otto Winter
41c931dcee TTP229 BSF support (#547)
* TTP229 BSF support

* MULTI_CONF
2019-05-13 13:11:10 +02:00
Otto Winter
03d9fdc9f7 GPS time source (#543)
* GSP Time

* GPS Time

* Lint

* Multi conf
2019-05-13 13:11:02 +02:00
Otto Winter
2656b17cc4 CCS811 support (#536)
* CCS811

* Move define, add test

* Remove sun artifact

* Lint

* Lint
2019-05-13 13:06:14 +02:00
Otto Winter
c4340a2a1b MULTI_CONF 2019-05-13 13:05:30 +02:00
Otto Winter
2668ed5f25 Merge branch 'dev' into ttp229-bsf 2019-05-13 13:01:08 +02:00
Otto Winter
7b1fea9636 Update config.py 2019-05-13 12:04:50 +02:00
Otto Winter
9b3b9c8827 Add custom component mechanism 2019-05-13 12:03:52 +02:00
puuu
c0a5d00046 Make Climate component work over mqtt (#535)
* Fix climate component over MQTT

* Use climate_mode_to_string() in send_discovery()

* remove superfluous mqtt binding
2019-05-13 11:51:22 +02:00
Otto Winter
d4b6826acb Update __init__.py 2019-05-13 09:47:49 +02:00
Otto Winter
9ef48c97d6 Updates for 1.13 (#546)
* Update CI matcher

* Check Executable bit

* Quicklint

* Updates

* Allow pm1.0 and pm10.0 for PMS5003ST

Fixes https://github.com/esphome/feature-requests/issues/225

* PowerSupplyRequester

* Lint

* Include debug data in generated main.cpp

* Updates

* Auto-select bit_depth

* Updates
2019-05-12 23:04:36 +02:00
Otto Winter
360cd316a6 Update CI linter (#544)
* Update CI matcher

* Check Executable bit
2019-05-11 15:12:30 +02:00
Otto Winter
e4dbbd32f8 Sun support (#531)
* Sun

* Add sun support

* Lint

* Updates

* Fix elevation

* Lint

* Update mqtt_climate.cpp
2019-05-11 12:31:00 +02:00
Otto Winter
737adc1798 Update .gitignore 2019-05-11 12:21:27 +02:00
Otto Winter
d0745d08aa Dashboard editor live validation (#540)
* Dashboard editor validation

* Improve range detection

* Lint
2019-05-11 11:41:09 +02:00
Otto Winter
de4122e3d0 Use int_range validator (#542)
* Use int_range validator

Just keeping code clean.

* Lint
2019-05-11 11:40:29 +02:00
Otto Winter
5871bf5e0e Revert HLW8012 to use pulse counter (#537) 2019-05-10 22:13:43 +02:00
Otto Winter
d0ca5f9325 Auto-Generate esphome.h (#538) 2019-05-10 22:13:26 +02:00
Otto Winter
c1969c0007 Check lambdas for return statement (#539) 2019-05-10 22:13:17 +02:00
Otto Winter
bf71610615 TTP229 BSF support 2019-05-10 21:44:02 +02:00
Otto Winter
aea0c90b3e Fix ADC VCC
Fixes https://github.com/esphome/issues/issues/289

Was a linker problem, the macro needs to be defined in global C++ scope (no namespace, not in extern "C" block)
2019-05-10 15:02:59 +02:00
ffabi
9ca51462b8 Changed also the datatype of temperatur values to be able to get corr… (#532)
Co-authored-by: Fabian <git@ffabi.com>
2019-05-10 13:49:30 +02:00
puuu
569def1c09 Allow rx_only mode of sds011 component (#534)
fixes the following error if rx_only was defined and update_interval
was not present:

Failed config

sensor.sds011: [source sds011.yaml:62]

  update_interval has no effect in rx_only mode. Please remove it.
2019-05-10 13:48:50 +02:00
puuu
11a67683b2 Fix compilation of my9231 component (#533)
missing definition of GPIOPin:

In file included from src/esphome/components/my9231/my9231.cpp:1:0:
src/esphome/components/my9231/my9231.h:13:19: error: 'GPIOPin' has not been declared
void set_pin_di(GPIOPin *pin_di) { pin_di_ = pin_di; }
^
src/esphome/components/my9231/my9231.h:14:21: error: 'GPIOPin' has not been declared
void set_pin_dcki(GPIOPin *pin_dcki) { pin_dcki_ = pin_dcki; }
^
src/esphome/components/my9231/my9231.h:51:3: error: 'GPIOPin' does not name a type
GPIOPin *pin_di_;
^
src/esphome/components/my9231/my9231.h:52:3: error: 'GPIOPin' does not name a type
GPIOPin *pin_dcki_;
^
2019-05-10 13:48:38 +02:00
gitolicious
339d90920f Added save & validate button in editor window (#511)
* Added save & validate button in editor window

It felt a bit cumbersome to save&close the editor window, then click the validate button, see an error, locate your device from the list and open the editor again. Now it is possible to save&validate a configuration without leaving the editor.

* Changed modal behavior to close one before the other

* set data-node dynamically

* show upload button on successful validation

* Use disabled class

* Update index.html

* Fix mistake


Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-05-08 15:39:22 +02:00
gitolicious
fbcd1c9e27 Create .editorconfig (#524)
* Create .editorconfig

Code formatting instruction for editors
https://editorconfig.org/

* Add tcc


Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-05-08 15:37:18 +02:00
Otto Winter
b542e944c4 Lint more filetypes 2019-05-08 15:26:44 +02:00
Otto Winter
30198e6917 Format 2019-05-08 14:56:54 +02:00
Otto Winter
0c76fbb5d2 Lint 2019-05-08 11:40:45 +02:00