These are corrections of errors found in the book Getting Started with ESPHome only after its publication:
- In ESPHome 1.19, the order of the configuration file and the command has been changed in the command-line interface. So instead of
esphome config.yaml run
, you now executeesphome run config.yaml
. The old format is still accepted for now, but will be removed in a future release.
- page 28: The
--upload-port
option has been renamed to--device
in ESPHome 1.19. - page 36: Due to an ESPHome update, you need to add
wifi
andapi
components to thechapter2_substitutions.yaml
file, otherwise the configuration doesn't compile. This is fixed in the chapter2_substitutions.yaml file in this repository.
- page 133, 137: For the T-Display's display platform
st7789v
you now need to specify the optionmodel: TTGO TDisplay 135x240
. This is fixed in the chapter7_tdisplay_mqtt.yaml file in this repository and in the chapter7_pages.yaml file in this repository.
- page 148: To compile the custom integration example with the uFire SHT20 library, you now need to add
"Wire.h
to the global list of libraries in your ESPHome configuration file, before"uFire SHT20"
. This is fixed in in the appendix_sht20.yaml file in this repository.