Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.17.0 #1742

Merged
merged 114 commits into from May 3, 2021
Merged

1.17.0 #1742

merged 114 commits into from May 3, 2021

Conversation

jesserockz
Copy link
Member

Do not merge, release script will automatically merge

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."

~ Rich Cook

  • esphome: Bump voluptuous from 0.12.0 to 0.12.1 esphome#1411
  • esphome: add http request tests esphome#1448
  • esphome: codegen: Lambda improvements esphome#1476
  • docs: Add options to control pulse duration on Climate_IR_LG Component docs#963
  • esphome: Add options to control pulse duration on Climate_IR_LG Component esphome#1470
  • esphome: Adding support for the Inkbird IBS-TH1 Mini sensor esphome#1099 (new-integration)
  • docs: Adding documentation for Inkbird IBS-TH1 Mini sensor docs#657
  • esphome: Add config validator location esphome#1490
  • esphome: Add MCP4725 DAC Component esphome#1418 (new-integration)
  • docs: Add MCP4725 docs docs#889
  • docs: Fix format consistency docs#989
  • esphome: Added codeowners to max7219digit esphome#1487
  • esphome: Correct Native API Wire Format Documentation esphome#1528
  • esphome: st7735_conf_fixes esphome#1530
  • docs: ST7735 Changed configuration items to snake_case docs#1000
  • esphome: Device class attribute for sensor component esphome#1525 (notable-change)
  • docs: Add doc for device_class attribute of sensor docs#996
  • docs: Add sleep duration to enter deep sleep action docs#995
  • esphome: Add duration option to action start deep sleep esphome#1526
  • esphome: fix substitution losing track of document range esphome#1547
  • docs: Update esp32_camera.rst docs#1020
  • docs: Fix format next docs#1023
  • docs: Add another project to diy.rst docs#1019
  • docs: Update esphome-configs URL docs#1018
  • docs: Icon is ignored by HA when device class is set docs#1011
  • docs: Update pid.rst docs#1006
  • docs: Mention that Hyperion.NG works with E1.31 docs#975
  • esphome: Add Xiaomi Miscale v1 and v2 esphome#1368 (new-integration)
  • docs: Add docs for Xiaomi Miscale v1 and v2 docs#1021
  • docs: Add missing closing parenthesis in example docs#1029
  • docs: Update Inkplate.rst docs#1026
  • docs: typo in st7735 model number docs#1025
  • docs: Fix mcp23sXX id config docs#1017
  • docs: Update bme680.rst docs#1007
  • docs: Sim800l dial docs#1027
  • esphome: Add dial support for sim800l component esphome#1558
  • esphome: Climate IR LG -keep previous temp and fan if swing esphome#1556
  • esphome: Vl53l0x change address esphome#1126 (new-feature)
  • docs: Update vl53l0x docs docs#679
  • esphome: tuya: Use queue for sending command messages esphome#1404
  • esphome: Replace substitutions in substitutions first esphome#1567
  • esphome: Added heater to climate_ir_lg esphome#1555
  • esphome: More yaml validation esphome#1568
  • esphome: Add default device classes to sensor components esphome#1533 (notable-change)
  • docs: Document recurring data in uart switch docs#986
  • esphome: Add support for recurring data in uart switch esphome#1514
  • esphome: Added samsung36 ir protocol esphome#1438
  • docs: Added remote samsung36 protocol docs docs#904
  • docs: Add IWOOLE Table Lamp cookbook entry docs#947
  • docs: Update uart.rst example to read all available characters docs#1031
  • esphome: ADC fix: GPIO0 not usable as output if ADC_VCC is used esphome#1557
  • esphome: Add constants for device classes of binary_sensor esphome#1549
  • esphome: fix path on windows escape esphome#1573
  • esphome: Migrate ESPColor to Color esphome#1551
  • docs: Migrate ESPColor to Color docs#1036
  • esphome: Add support for the SM300D2 7-in-1 sensor module esphome#1524 (new-integration)
  • docs: Added documentation for the SM300D2 sensor docs#993
  • esphome: changed color temp from float to int esphome#1522
  • esphome: Bump pytest-cov from 2.10.1 to 2.11.1 esphome#1483
  • esphome: Bump colorlog from 4.6.2 to 4.7.2 esphome#1473
  • esphome: pins: Add three new boards esphome#1576
  • esphome: Bump pytest from 6.2.1 to 6.2.2 esphome#1574
  • esphome: Bump pytz from 2020.5 to 2021.1 esphome#1575
  • esphome: Fix for waveshare 2.13in-ttgo-b73 esphome#1543
  • docs: Added new blogpost docs#1038
  • esphome: Add min/max filters esphome#1569
  • docs: Document new min/max filters docs#1032
  • esphome: Bump pylint from 2.6.0 to 2.7.2 esphome#1582
  • esphome: Extend 'uart:' with 'invert:' for esp32 esphome#1586
  • docs: Uart invert option for ESP32 docs#1039
  • esphome: Bump platformio from 5.0.4 to 5.1.0 esphome#1581
  • esphome: fix servo warning esphome#1591
  • docs: add-black docs#1044
  • esphome: add-black esphome#1593
  • esphome: MCP23XXX Refactor esphome#1560 (breaking-change)
  • docs: Update MCP23XXX docs with interrupts and pin schemas docs#1028
  • esphome: Improve error checking: too many component id candidates esphome#1570
  • esphome: Schema dump esphome#1564
  • docs: Dump schema docs#1030
  • docs: Update i2c.rst docs#1043
  • docs: Update rf_bridge.rst docs#1042
  • esphome: Inkplate 6 Optimizations esphome#1592
  • docs: Fix RF Bridge link to Portisch Repo docs#1045
  • docs: pin schema and other fixes docs#1047
  • esphome: schema-dump-pins esphome#1596
  • docs: Adding that mpr121_id is a valid option for binary_sensor docs#966
  • esphome: change lcd clear() to clear the buffer esphome#1600
  • esphome: PN532 - don't read extra page and fix size esphome#1565
  • docs: schema-filters docs#1052
  • esphome: Fix component_tests config esphome#1608
  • esphome: Added receive for Fujitsu ACs esphome#1577
  • esphome: Change COLOR_ON to be 255 values instead of 1 esphome#1594
  • esphome: a4988 wait 1ms when coming out of sleep esphome#1597
  • docs: Remove cs_pin from rc522 i2c example docs#1059
  • esphome: Support fan speed levels esphome#1541
  • docs: Documentation for fan speed levels docs#1056
  • docs: Add CLI logs section docs#1060
  • esphome: Add option to suffix name with mac address esphome#1615
  • esphome: Midea climate support esphome#1328 (new-integration)
  • docs: Midea Climate support docs#804
  • docs: Add docs for name_add_mac_suffix config docs#1058
  • esphome: SPI transfer fix. Use write when no miso pin is set esphome#1563
  • esphome: SPI Improvements esphome#1617
  • esphome: Add addressable_light display platform esphome#1272 (new-integration) (notable-change)
  • docs: Add docs for addressable_light display docs#755
  • esphome: Implement pulse_meter as an improvement on pulse_counter and pulse_width for meters esphome#1434 (new-integration)
  • esphome: e131: fix issue 1579: limitation of maximum light count esphome#1619
  • docs: Add documentation for pulse_meter docs#900
  • esphome: Bump platformio from 5.1.0 to 5.1.1 esphome#1618
  • esphome: Fix pulse-meter with device_class and black esphome#1621
  • esphome: Declare Color objects in main.cpp esphome#1395
  • esphome: Add 2.13in-ttgo-b1 waveshare epaper module. esphome#1326
  • docs: Add docs for ttgo-b1 version (next branch) docs#808
  • esphome: Bump flake8 from 3.8.4 to 3.9.0 esphome#1612
  • esphome: Bundle platformio lib_deps in docker images esphome#1625
  • esphome: Bump protobuf from 3.13.0 to 3.15.6 esphome#1607
  • esphome: Bump pyyaml from 5.3.1 to 5.4.1 esphome#1482
  • esphome: Switch docker images to debian esphome#1626
  • esphome: Background calibration & ABC commands for SenseAir S8 esphome#1623 (new-feature)
  • docs: SenseAir: background calibration & ABC commands docs#1066
  • esphome: Add trigger for http actions to receive the status code esphome#1599 (new-feature)
  • docs: Add docs for http_request on_response trigger docs#1049
  • docs: Fix typo lambada -> lambda in multiple display compoments docs#1071
  • docs: Consistent spelling of "ID" docs#1068
  • docs: Change GREYSCALE to GRAYSCALE docs#1073
  • docs: SPI: fix Example docs#1076
  • docs: Update diy.rst docs#1106
  • docs: Make changelog banner dismissable docs#1113
  • docs: Correct typo: "between between" -> "between" docs#1109
  • docs: Update canbus.rst docs#1115
  • docs: Update diy.rst docs#1114
  • docs: Update email addresses docs#1122

jesserockz and others added 30 commits January 9, 2021 07:51
* Deprioritize automations

Ensures safe mode is loaded before any automations are ran

* Fix lint
* initial support for DS1307 real time clock

* add simple test, make sync functions public

* cleanup lint

* add sync to/from rtc actions

* changes action names

* Update esphome/components/ds1307/ds1307.cpp

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>

* Update esphome/components/ds1307/time.py

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>

* fix suggested change

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
Without the flag lwip only holds a reference to the supplied buffers and the reference must be valid until the tcp ack is received. This can't be guaranteed for stack allocated buffers
* Checksum calc change

* first checksum change for MODEL_DG11J1_3A
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.3.1 to 3.5.1.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-mock@v3.3.1...v3.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* split to spi and i2c

* fix binary_sensor

* i2c comms ready

* fix rc522_spi binary sensor compat

* lint

* lint

* add test and codeowners

* fix refactor
* make real time clock components polling components

* add test
Bumps [voluptuous](https://github.com/alecthomas/voluptuous) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/alecthomas/voluptuous/releases)
- [Changelog](https://github.com/alecthomas/voluptuous/blob/master/CHANGELOG.md)
- [Commits](alecthomas/voluptuous@0.12.0...0.12.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tageSampler (#1387)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Add Inkplate 6 support

Inkplate 6 is e-paper display based on ESP32. This commit adds support for integrating Inkplate 6 into the ESPHome. Find more info here: inkplate.io

* Greyscale working

* Update inkplate.h

* Fix formatting

* Formatting

* Update esphome/components/inkplate6/display.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

* Update esphome/components/inkplate6/display.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

* Fix some lint errors
Ignore some lint errors
Only allow on ESP32

* Update the codeowners file

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* add on_time_sync trigger

* cleanup lint

* fix review remark (sntp didn't trigger callbacks)
* add http request tests

* add to test3 for esp8266

* move test action to another trigger
* Use #line directives in generated C++ code for lambdas

The #line directive in gcc is meant specifically for pieces of imported
code included in generated code, exactly what happens with lambdas in
the yaml files: https://gcc.gnu.org/onlinedocs/cpp/Line-Control.html

With this change, if I add the following at line 165 of kithen.yaml:
    - lambda: undefined_var == 5;

then "$ esphome kitchen.yaml compile" shows the following:

INFO Reading configuration kitchen.yaml...
INFO Generating C++ source...
INFO Compiling app...
INFO Running:  platformio run -d kitchen
<...>
Compiling .pioenvs/kitchen/src/main.cpp.o
kitchen.yaml: In lambda function:
kitchen.yaml:165:7: error: 'undefined_var' was not declared in this scope
*** [.pioenvs/kitchen/src/main.cpp.o] Error 1
== [FAILED] Took 2.37 seconds ==

* Silence gcc warning on multiline macros in lambdas

When the \ is used at the end of the C++ source in a lambda (line
continuation, often used in preprocessor macros), esphome will copy that
into main.cpp once as code and once as a // commment.  gcc will complain
about the multiline commment:

Compiling .pioenvs/kitchen/src/main.cpp.o
kitchen.yaml:640:3: warning: multi-line comment [-Wcomment]

Try to replace the \ with a "<cont>" for lack of a better idea.
…1470)

* Added options to control pulse duration on Climate_IR_LG Component. This is usefull as some equipment from LG (Tested in Brazil AC unit) use different pulse durations in their protocol.

* Fixed C++ linting issues

* Fixed Python linting issues

* fixed spaces on parameters linting issue

* fixed spacing clint

* Removed unused constants

* Removed wrong spacing

* Changed int to time period in all new fields

Changed cv._int to cv.positive_time_period_microseconds in the time definitions for the new options

* Fixed the time defaults

Time defaults fixed for Climate_IR_LG.
Committer: nikito7

Co-authored-by: vevsvevs <v-v@mail.ru>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: nikito7 <root@vbox.lan>
* replace delay by delayMicroseconds in delay_microseconds_accurate

* Use delay(0) to let wifi and os function run

* Linting

* Remove unneeded delayMicroseconds, keep it for low usec

* Avoid micros() overflow issue
jesserockz and others added 24 commits March 17, 2021 17:22
* Add option to suffix name with mac address

* Rename and add to test file
* Added support for Midea IoT climate devices via UART interface (USB-dongle)

* Fixed lint checks

* Fixed lint checks

* CODEOWNERS update

* Clang-format

* Clang-format

* Add network device notification message support (show WiFi sign on devices)

* Make wifi_signal_sensor optional component

* Some optimization

* Optimizations and code formatting

* Fixed lint checks

* Fixed lint checks

* Fixed sign error

* Code changes

* Network notify repeat every 10 min

* Added log messages

* Fixed lint checks

* Refactoring: MideaClimate => MideaAC

* Using enums instead literals in Midea states

* Enum changed to be more correct

* Shrink notify frame to 32 bytes

* Fixed lint checks

* Change notify frame appliance type to common broadcast

* Control optimization

* Fixed control error

* Control command now don't reset others uncontrollable properties of device

* Fixed lint checks

* Some optimization

* on_receive callback give const Frame

* Fix control

* Fixes

* Some minor changes

* Fixed lint error

* No dependency from wifi_signal sensor for stretched WiFi icon. New option: stretched_icon instead wifi_signal_id.

* Fix option name

* Added export of outdoor temperature as sensor value

* Fixed lint errors

* Fixed pylint error

* Minor fix

* Fix temperature overflow in some cases

* Added answer on QueryNetwork command from appliance. Now don't wait for ack on 0x0D command.

* Fix lint error

* Added humidity setpoint optional sensor

* Added boolean options 'swing_horizontal' and 'swing_both'

* Added debug frame output

* Added debug frame output

* Fix lints error

* Some debug output optimization

* Fix lint check

* Some code optimization: adding templates

* Fix lint error

* Added sensors device classes

* Python code reformatted with black formatter

* RX frame debug message

RX frame debug message now prints before checking

* Remove CRC check for receiving frames

* Added experimental power usage option

* Added power usage option

* Fixed lint errors

* Major changes. See esp-docs.

* Added tests in test4.yaml

* Added tests in test1.yaml

* Added wifi dependency

* Fix test1.yaml

* Some fix :)

* One more refactoring

* One more refactoring

* One more refactoring
Bumps [platformio](https://github.com/platformio/platformio) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/platformio/platformio/releases)
- [Changelog](https://github.com/platformio/platformio-core/blob/develop/HISTORY.rst)
- [Commits](platformio/platformio-core@v5.1.0...v5.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.8.4 to 3.9.0.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.8.4...3.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto Winter <otto@otto-winter.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto Winter <otto@otto-winter.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto Winter <otto@otto-winter.com>
@jesserockz jesserockz merged commit 34487c9 into master May 3, 2021
@jesserockz jesserockz deleted the bump-1.17.0 branch May 3, 2021 22:48
@github-actions github-actions bot locked and limited conversation to collaborators Sep 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet