ESPHome lista wydań zawierających Breaking Changes (zmiany wstecznie niekompatybilne)


lata do 2020 roku


Wersje wcześniejsze od 1.7.0 nie mają dedykowanych rozdziałów w aktualnej dokumentacji, więc wcześniejszą historię można szukać w notatkach do wydań na starym repozytorium, ale moim zdaniem nie było tam jawnie listowanych breaking changes


1.7.0 (czerwiec 2018) - Fixed the [SHT3x-D] component and removed the accuracy parameter. The accuracy now defaults to HIGH; The inverted option of binary sensors has been moved into the filters: section; The esp32_ble component and platform have been renamed to [esp32_ble_tracker] in order to make the naming clearer with the new [esp32_ble_beacon] component; The receive_timeout option has been removed from the [i2c component] as it turns out it didn’t actually do anything; The ir_transmitter component has been renamed to [remote_transmitter] as it now works with all kinds of protocols, not just infrared-based ones; The pull_mode option of the Pulse Counter has been removed, please use the [Pin Schema] now instead. Additionally, the internal_filter option now only accepts [time] units.


1.8.0 (listopad 2018) - The [core configuration] has been reworked a bit to a) make using different arduino framework version easier and b) make editing your local esphomelib copy easier; Light Effects now need to be manually declared in the config and will no longer show up automatically; MAX6675 has been migrated to use the new SPI bus (and fixed!). Please see the docs for how to use it now


1.9.0 (listopad 2018) - As part of the rewrite of Over-The-Air updates, the old OTA protocol is incompatible with the new one - But fear not, esphomeyaml still supports the legacy OTA update process. On your first OTA upload with 1.9.0, you will see esphomeyaml try with the new OTA method and fail. After that, esphomeyaml will fall back to the old OTA process and upload correctly; esphomelib’s naming convention has been made more consistent. If you’re not using any lambdas, everything will still work. However, if you’re using the C++ API, there are a couple of breaking changes:
For sensors and binary sensors, id(my_sensor).value has been deprecated and id(my_sensor).state should be used instead. Additionally, the syntax for toggling lights and switches through C++ has been changed.


1.10.0 (styczeń 2019) - Previously, esphomelib would by default only publish every 15th sensor value in order to provide averaged values. However, that often confused users and I now decided to remove it and set the default update interval of all components to 60s instead of the previous 15s.; The fastled effects have been renamed to addressable_ for the new [Neopixelbus] integration.


1.11.0 (luty 2019) - Template Switches no longer restore their state by default; Removed heartbeat filter from binary sensors; optimistic mode for template platforms has been split off into optimistic and assumed_state options; run_cycles has been removed from deep_sleep


1.12.0 (marzec 2019) - The timeout_meter and timeout_time options of the ultrasonic sensor have been merged into timeout, Ultrasonic Sensor no longer works with GPIO16 as echo pin on ESP8266s because the implementation switched to an asynchronous interrupt mode.


1.13.0 (maj 2019) - esphome_core_version has been removed - ESPHome is no longer split up in the core and python repository; The esp32_ble_tracker binary sensor platform (not the global hub) has been renamed to ble_presence; The remote transmitter switch has been removed and a template switch with the new actions should be used. See validation output; esphome_core_version has been removed - ESPHome is no longer split up in the core and python repository; because of some internal changes, some ID names are used internally and can no longer be used. See validation errors.


1.14.0 (listopad 2019) - deprecated support for Python 2 installs; The xiaomi_ BLE platforms have been renamed to match their model numbers; As part of the addition of the captive portal component, the default reboot_timeout for wifi has been increased to 15 minutes from the previous 5 minutes; The ESP32 LEDC bit_depth option has been removed. The best bit depth is now dynamically calculated; For [pcf8574], the INPUT_PULLUP option has been removed and replaced with INPUT


1.15.0 (wrzesień 2020) - Drop Python 2 Support; Fix SGP30 incorrect baseline reading/writing; fix servo bug restoring state and starting servo detached; fix shunt voltage / current / power reading in INA3221; Component script not stopped in certain situations, New script modes POC