Add vector includes (#4080)

This commit is contained in:
Jesse Hills 2022-11-24 13:12:55 +13:00 committed by GitHub
parent ce5cedb466
commit 9273e3775b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
128 changed files with 252 additions and 24 deletions

View File

@ -5,6 +5,8 @@
#include "esphome/components/display/display_buffer.h"
#include "esphome/components/light/addressable_light.h"
#include <vector>
namespace esphome {
namespace addressable_light {

View File

@ -5,6 +5,8 @@
#include "esphome/components/i2c/i2c.h"
#include "esphome/components/sensor/sensor.h"
#include <vector>
namespace esphome {
namespace ade7953 {

View File

@ -5,6 +5,8 @@
#include "esphome/components/i2c/i2c.h"
#include "esphome/components/voltage_sampler/voltage_sampler.h"
#include <vector>
namespace esphome {
namespace ads1115 {

View File

@ -7,6 +7,8 @@
#include "esphome/core/application.h"
#include "esphome/core/component.h"
#include <vector>
namespace esphome {
namespace api {

View File

@ -12,6 +12,8 @@
#include "user_services.h"
#include "api_noise_context.h"
#include <vector>
namespace esphome {
namespace api {

View File

@ -5,6 +5,8 @@
#include "api_pb2.h"
#include "api_server.h"
#include <vector>
namespace esphome {
namespace api {

View File

@ -4,6 +4,8 @@
#include "esphome/core/log.h"
#include "esphome/core/helpers.h"
#include <vector>
#ifdef ESPHOME_LOG_HAS_VERY_VERBOSE
#define HAS_PROTO_MESSAGE_DUMP
#endif

View File

@ -1,6 +1,7 @@
#pragma once
#include <utility>
#include <vector>
#include "esphome/core/component.h"
#include "esphome/core/automation.h"

View File

@ -4,6 +4,8 @@
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/esp32_ble_tracker/esp32_ble_tracker.h"
#include <vector>
#ifdef USE_ESP32
namespace esphome {

View File

@ -8,6 +8,8 @@
#include "bedjet_child.h"
#include "bedjet_codec.h"
#include <vector>
#ifdef USE_TIME
#include "esphome/components/time/real_time_clock.h"
#endif

View File

@ -1,6 +1,7 @@
#pragma once
#include <utility>
#include <vector>
#include "esphome/core/component.h"
#include "esphome/core/automation.h"

View File

@ -5,6 +5,8 @@
#include "esphome/core/helpers.h"
#include "esphome/components/binary_sensor/filter.h"
#include <vector>
namespace esphome {
namespace binary_sensor {

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "esphome/core/helpers.h"
#include <vector>
namespace esphome {
namespace binary_sensor {

View File

@ -4,6 +4,8 @@
#include "esphome/components/binary_sensor/binary_sensor.h"
#include "esphome/components/sensor/sensor.h"
#include <vector>
namespace esphome {
namespace binary_sensor_map {

View File

@ -1,6 +1,7 @@
#pragma once
#include <utility>
#include <vector>
#include "esphome/core/automation.h"
#include "esphome/components/ble_client/ble_client.h"

View File

@ -7,12 +7,13 @@
#ifdef USE_ESP32
#include <string>
#include <array>
#include <esp_gap_ble_api.h>
#include <esp_gattc_api.h>
#include <esp_bt_defs.h>
#include <esp_gap_ble_api.h>
#include <esp_gatt_common_api.h>
#include <esp_gattc_api.h>
#include <array>
#include <string>
#include <vector>
namespace esphome {
namespace ble_client {

View File

@ -5,6 +5,8 @@
#include "esphome/components/esp32_ble_tracker/esp32_ble_tracker.h"
#include "esphome/components/sensor/sensor.h"
#include <vector>
#ifdef USE_ESP32
#include <esp_gattc_api.h>

View File

@ -3,6 +3,7 @@
#ifdef USE_ESP32
#include <map>
#include <vector>
#include "esphome/components/api/api_pb2.h"
#include "esphome/components/esp32_ble_client/ble_client_base.h"

View File

@ -4,6 +4,8 @@
#include "esphome/core/component.h"
#include "esphome/core/optional.h"
#include <vector>
namespace esphome {
namespace canbus {

View File

@ -6,6 +6,8 @@
#include "esphome/components/output/binary_output.h"
#include "esphome/components/binary_sensor/binary_sensor.h"
#include <vector>
namespace esphome {
namespace cap1188 {

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "esphome/components/binary_sensor/binary_sensor.h"
#include <vector>
namespace esphome {
namespace custom {

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "esphome/components/climate/climate.h"
#include <vector>
namespace esphome {
namespace custom {

View File

@ -2,6 +2,8 @@
#include "esphome/components/cover/cover.h"
#include <vector>
namespace esphome {
namespace custom {

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "esphome/components/light/light_output.h"
#include <vector>
namespace esphome {
namespace custom {

View File

@ -4,6 +4,8 @@
#include "esphome/components/output/binary_output.h"
#include "esphome/components/output/float_output.h"
#include <vector>
namespace esphome {
namespace custom {

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "esphome/components/sensor/sensor.h"
#include <vector>
namespace esphome {
namespace custom {

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "esphome/components/switch/switch.h"
#include <vector>
namespace esphome {
namespace custom {

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "esphome/components/text_sensor/text_sensor.h"
#include <vector>
namespace esphome {
namespace custom {

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "esphome/core/application.h"
#include <vector>
namespace esphome {
namespace custom_component {

View File

@ -4,6 +4,8 @@
#include "esphome/components/sensor/sensor.h"
#include "esp_one_wire.h"
#include <vector>
namespace esphome {
namespace dallas {

View File

@ -6,6 +6,8 @@
#include "esphome/components/binary_sensor/binary_sensor.h"
#include "esphome/components/uart/uart.h"
#include <vector>
namespace esphome {
namespace daly_bms {

View File

@ -4,7 +4,9 @@
#include "esphome/core/defines.h"
#include "esphome/core/automation.h"
#include "display_color_utils.h"
#include <cstdarg>
#include <vector>
#ifdef USE_TIME
#include "esphome/components/time/real_time_clock.h"

View File

@ -13,6 +13,8 @@
#include <dsmr/parser.h>
#include <dsmr/fields.h>
#include <vector>
namespace esphome {
namespace dsmr {

View File

@ -2,6 +2,8 @@
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
#include <vector>
namespace esphome {
namespace ektf2232 {

View File

@ -6,6 +6,8 @@
#include "ble_descriptor.h"
#include <vector>
namespace esphome {
namespace esp32_ble_client {

View File

@ -9,6 +9,7 @@
#include <array>
#include <string>
#include <vector>
#include <esp_bt_defs.h>
#include <esp_gap_ble_api.h>

View File

@ -6,6 +6,8 @@
#include "ble_characteristic.h"
#include <vector>
namespace esphome {
namespace esp32_ble_client {

View File

@ -12,6 +12,7 @@
#include <map>
#include <memory>
#include <vector>
#ifdef USE_ESP32

View File

@ -3,6 +3,8 @@
#include "ble_characteristic.h"
#include "esphome/components/esp32_ble/ble_uuid.h"
#include <vector>
#ifdef USE_ESP32
#include <esp_gap_ble_api.h>

View File

@ -5,10 +5,12 @@
#include "esphome/core/helpers.h"
#include "queue.h"
#include <array>
#include <string>
#include <vector>
#ifdef USE_ESP32
#include <string>
#include <array>
#include <esp_gap_ble_api.h>
#include <esp_gattc_api.h>
#include <esp_bt_defs.h>

View File

@ -4,9 +4,10 @@
#include "esphome/core/component.h"
#include "esphome/core/helpers.h"
#include <queue>
#include <mutex>
#include <cstring>
#include <mutex>
#include <queue>
#include <vector>
#include <esp_gap_ble_api.h>
#include <esp_gattc_api.h>

View File

@ -9,6 +9,8 @@
#include "esphome/core/helpers.h"
#include "esphome/core/preferences.h"
#include <vector>
#ifdef USE_ESP32
#include <improv.h>

View File

@ -6,6 +6,8 @@
#include "esphome/components/binary_sensor/binary_sensor.h"
#include <esp_idf_version.h>
#include <vector>
#if ESP_IDF_VERSION_MAJOR >= 4
#include <driver/touch_sensor.h>
#else

View File

@ -5,12 +5,14 @@ extern "C" {
#include "spi_flash.h"
}
#include "preferences.h"
#include <cstring>
#include "esphome/core/preferences.h"
#include "esphome/core/defines.h"
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
#include "esphome/core/defines.h"
#include "esphome/core/preferences.h"
#include "preferences.h"
#include <cstring>
#include <vector>
namespace esphome {
namespace esp8266 {

View File

@ -6,6 +6,8 @@
#include "esphome/components/binary_sensor/binary_sensor.h"
#include "esphome/components/uart/uart.h"
#include <vector>
namespace esphome {
namespace fingerprint_grow {

View File

@ -4,6 +4,8 @@
#include "esphome/core/hal.h"
#include "esphome/components/switch/switch.h"
#include <vector>
namespace esphome {
namespace gpio {

View File

@ -7,6 +7,8 @@
#include "esphome/components/sensor/sensor.h"
#include <TinyGPS++.h>
#include <vector>
namespace esphome {
namespace gps {

View File

@ -1,9 +1,10 @@
#pragma once
#include <cstdint>
#include <utility>
#include <vector>
#include "esphome/components/sensor/sensor.h"
#include "esphome/core/color.h"
#include "esphome/core/component.h"
#include <cstdint>
#include <utility>
namespace esphome {

View File

@ -4,6 +4,8 @@
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/modbus/modbus.h"
#include <vector>
namespace esphome {
namespace growatt_solar {

View File

@ -4,6 +4,8 @@
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/modbus/modbus.h"
#include <vector>
namespace esphome {
namespace havells_solar {

View File

@ -6,10 +6,12 @@
#include "esphome/core/automation.h"
#include "esphome/core/component.h"
#include "esphome/core/defines.h"
#include <list>
#include <map>
#include <utility>
#include <memory>
#include <utility>
#include <vector>
#ifdef USE_ESP32
#include <HTTPClient.h>

View File

@ -6,6 +6,7 @@
#include "esphome/core/helpers.h"
#include <improv.h>
#include <vector>
#ifdef USE_ARDUINO
#include <HardwareSerial.h>

View File

@ -8,6 +8,7 @@
#endif
#include <map>
#include <vector>
namespace esphome {
namespace lcd_base {

View File

@ -1,6 +1,7 @@
#pragma once
#include <utility>
#include <vector>
#include "esphome/core/component.h"
#include "esphome/components/light/light_state.h"

View File

@ -1,6 +1,7 @@
#pragma once
#include <utility>
#include <vector>
#include "light_effect.h"
#include "esphome/core/automation.h"

View File

@ -10,6 +10,8 @@
#include "light_traits.h"
#include "light_transformer.h"
#include <vector>
namespace esphome {
namespace light {

View File

@ -1,10 +1,11 @@
#pragma once
#include <cstdarg>
#include <vector>
#include "esphome/core/automation.h"
#include "esphome/core/component.h"
#include "esphome/core/helpers.h"
#include "esphome/core/defines.h"
#include <cstdarg>
#include "esphome/core/helpers.h"
#ifdef USE_ARDUINO
#if defined(USE_ESP8266) || defined(USE_ESP32)

View File

@ -1,10 +1,11 @@
#pragma once
#include <tuple>
#include <vector>
#include "esphome/components/i2c/i2c.h"
#include "esphome/components/sensor/sensor.h"
#include "esphome/core/component.h"
#include "esphome/core/optional.h"
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/i2c/i2c.h"
#include <tuple>
namespace esphome {
namespace ltr390 {

View File

@ -5,6 +5,8 @@
#include "esphome/components/display/display_buffer.h"
#include "esphome/components/spi/spi.h"
#include <vector>
#ifdef USE_TIME
#include "esphome/components/time/real_time_clock.h"
#endif

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "esphome/components/uart/uart.h"
#include <vector>
namespace esphome {
namespace modbus {

View File

@ -4,6 +4,8 @@
#include "esphome/components/modbus_controller/modbus_controller.h"
#include "esphome/core/component.h"
#include <vector>
namespace esphome {
namespace modbus_controller {

View File

@ -4,6 +4,8 @@
#include "esphome/components/modbus_controller/modbus_controller.h"
#include "esphome/core/component.h"
#include <vector>
namespace esphome {
namespace modbus_controller {

View File

@ -1,7 +1,6 @@
#include <vector>
#include "modbus_output.h"
#include "esphome/core/log.h"
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
namespace esphome {
namespace modbus_controller {

View File

@ -4,6 +4,8 @@
#include "esphome/components/modbus_controller/modbus_controller.h"
#include "esphome/core/component.h"
#include <vector>
namespace esphome {
namespace modbus_controller {

View File

@ -1,6 +1,7 @@
#pragma once
#include <utility>
#include <vector>
#include "esphome/components/modbus_controller/modbus_controller.h"
#include "esphome/components/select/select.h"

View File

@ -4,6 +4,8 @@
#include "esphome/components/sensor/sensor.h"
#include "esphome/core/component.h"
#include <vector>
namespace esphome {
namespace modbus_controller {

View File

@ -4,6 +4,8 @@
#include "esphome/components/switch/switch.h"
#include "esphome/core/component.h"
#include <vector>
namespace esphome {
namespace modbus_controller {

View File

@ -4,6 +4,8 @@
#include "esphome/components/text_sensor/text_sensor.h"
#include "esphome/core/component.h"
#include <vector>
namespace esphome {
namespace modbus_controller {

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "esphome/components/esp32_ble_tracker/esp32_ble_tracker.h"
#include <vector>
#ifdef USE_ESP32
namespace esphome {

View File

@ -4,6 +4,8 @@
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/esp32_ble_tracker/esp32_ble_tracker.h"
#include <vector>
#ifdef USE_ESP32
namespace esphome {

View File

@ -4,6 +4,8 @@
#include "esphome/components/i2c/i2c.h"
#include "esphome/components/binary_sensor/binary_sensor.h"
#include <vector>
namespace esphome {
namespace mpr121 {

View File

@ -16,6 +16,8 @@
#endif
#include "lwip/ip_addr.h"
#include <vector>
namespace esphome {
namespace mqtt {

View File

@ -1,6 +1,8 @@
#pragma once
#include <deque>
#include <vector>
#include "esphome/core/defines.h"
#include "esphome/components/uart/uart.h"
#include "nextion_base.h"

View File

@ -1,5 +1,6 @@
#pragma once
#include <utility>
#include <vector>
#include "esphome/core/defines.h"
namespace esphome {

View File

@ -1,6 +1,7 @@
#pragma once
#include <memory>
#include <vector>
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"

View File

@ -3,6 +3,8 @@
#include "esphome/core/log.h"
#include "esphome/core/helpers.h"
#include <vector>
namespace esphome {
namespace nfc {

View File

@ -4,6 +4,8 @@
#include "esphome/core/helpers.h"
#include "ndef_record.h"
#include <vector>
namespace esphome {
namespace nfc {

View File

@ -4,6 +4,8 @@
#include "esphome/core/helpers.h"
#include "ndef_record.h"
#include <vector>
namespace esphome {
namespace nfc {

View File

@ -6,6 +6,8 @@
#include "ndef_message.h"
#include "nfc_tag.h"
#include <vector>
namespace esphome {
namespace nfc {

View File

@ -1,6 +1,7 @@
#pragma once
#include <memory>
#include <vector>
#include "esphome/core/log.h"
#include "esphome/core/helpers.h"

View File

@ -1,6 +1,7 @@
#pragma once
#include <utility>
#include <vector>
#include "esphome/core/component.h"
#include "esphome/components/light/addressable_light.h"

View File

@ -5,6 +5,8 @@
#include "pid_controller.h"
#include "pid_simulator.h"
#include <vector>
namespace esphome {
namespace pid {

View File

@ -5,6 +5,8 @@
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/output/float_output.h"
#include <vector>
namespace esphome {
namespace pid {

View File

@ -4,6 +4,8 @@
#include "esphome/components/output/float_output.h"
#include "esphome/core/component.h"
#include <vector>
namespace esphome {
namespace pipsolar {

View File

@ -7,6 +7,8 @@
#include "esphome/components/nfc/nfc.h"
#include "esphome/components/nfc/automation.h"
#include <vector>
namespace esphome {
namespace pn532 {

View File

@ -4,6 +4,8 @@
#include "esphome/components/pn532/pn532.h"
#include "esphome/components/i2c/i2c.h"
#include <vector>
namespace esphome {
namespace pn532_i2c {

View File

@ -4,6 +4,8 @@
#include "esphome/components/pn532/pn532.h"
#include "esphome/components/spi/spi.h"
#include <vector>
namespace esphome {
namespace pn532_spi {

View File

@ -4,6 +4,8 @@
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/esp32_ble_tracker/esp32_ble_tracker.h"
#include <vector>
#ifdef USE_ESP32
namespace esphome {

View File

@ -5,6 +5,8 @@
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/modbus/modbus.h"
#include <vector>
namespace esphome {
namespace pzemac {

View File

@ -4,6 +4,8 @@
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/modbus/modbus.h"
#include <vector>
namespace esphome {
namespace pzemdc {

View File

@ -5,6 +5,8 @@
#include "esphome/core/automation.h"
#include "esphome/components/binary_sensor/binary_sensor.h"
#include <vector>
namespace esphome {
namespace rc522 {

View File

@ -5,6 +5,8 @@
#include "esphome/components/binary_sensor/binary_sensor.h"
#include "esphome/components/uart/uart.h"
#include <vector>
namespace esphome {
namespace rdm6300 {

View File

@ -2,6 +2,8 @@
#include "remote_base.h"
#include <vector>
namespace esphome {
namespace remote_base {

View File

@ -5,6 +5,7 @@
#include "remote_base.h"
#include <array>
#include <utility>
#include <vector>
namespace esphome {
namespace remote_base {

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "remote_base.h"
#include <vector>
namespace esphome {
namespace remote_base {

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "remote_base.h"
#include <vector>
namespace esphome {
namespace remote_base {

View File

@ -1,4 +1,5 @@
#include <utility>
#include <vector>
#pragma once

View File

@ -3,6 +3,8 @@
#include "esphome/core/component.h"
#include "esphome/components/remote_base/remote_base.h"
#include <vector>
namespace esphome {
namespace remote_transmitter {

View File

@ -1,6 +1,7 @@
#pragma once
#include <utility>
#include <vector>
#include "esphome/core/component.h"
#include "esphome/components/uart/uart.h"

View File

@ -8,6 +8,8 @@
#include "preferences.h"
#include <cstring>
#include <vector>
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"
#include "esphome/core/preferences.h"

Some files were not shown because too many files have changed in this diff Show More