packages:
common:
url: https://github.com/yoziru/esphome-tesla-ble/
ref: main # Tried also to use specific version, no difference getting code to update from github mor ethen than every 24h (?).
files: packages/common.yml
refresh: 0s
/# This seems to not have affect; still caches sources files for 24h it seems(?). Maybe related to this https://github.com/esphome/esphome/pull/5443
Hi,
Sry in advance, but I'm a beginner in ESPHome!
So i try to validate my merged YAML file in the dashboard ( ESPHome on Homeassistant) and get this message:
` INFO ESPHome 2024.7.3 INFO Reading configuration /config/esphome/esphome-web-f8ffac.yaml... INFO Updating https://github.com/yoziru/esphome-tesla-ble/@main Failed config
packages: [source /config/esphome/esphome-web-f8ffac.yaml:23] common: url: https://github.com/yoziru/esphome-tesla-ble/ ref: main files: packages/common.yml refresh: 0s client: url: https://github.com/yoziru/esphome-tesla-ble/ ref: main files: packages/client.yml refresh: 0s device_base: url: https://github.com/yoziru/esphome-tesla-ble/ ref: main files: boards/esp32-generic.yml refresh: 0s
Shorthand only for strings. external_components: url: https://github.com/yoziru/esphome-tesla-ble/ ref: main `
And this is my file:
` esp32: board: esp32-c3-devkitm-1 framework: type: arduino
substitutions: friendly_name: ESPHome Tesla BLE device_name: "esphome-tesla-ble" device_description: Tesla BLE
esphome: name: ${device_name} name_add_mac_suffix: true friendly_name: ${friendly_name} comment: ${device_description} project: name: yoziru.esphome-tesla-ble version: "2024.8.1" libraries:
packages: common: url: https://github.com/yoziru/esphome-tesla-ble/ ref: main # Tried also to use specific version, no difference getting code to update from github mor ethen than every 24h (?). files: packages/common.yml refresh: 0s /# This seems to not have affect; still caches sources files for 24h it seems(?). Maybe related to this https://github.com/esphome/esphome/pull/5443
client: url: https://github.com/yoziru/esphome-tesla-ble/ ref: main files: packages/client.yml refresh: 0s
device_base: url: https://github.com/yoziru/esphome-tesla-ble/ ref: main files: boards/esp32-generic.yml refresh: 0s
external_components: url: https://github.com/yoziru/esphome-tesla-ble/ ref: main files: packages/external_components.dashboard.yml refresh: 0s
logger: level: INFO
api: encryption: key: !secret api_encryption_key
/# sync time with home assistant time:
ota: platform: esphome password: !secret ota_password
esp32_ble_tracker: scan_parameters:
Activate scan only after wifi connect, see https://github.com/esphome/issues/issues/2941#issuecomment-1842369092
wifi: ssid: !secret wifi_ssid password: !secret wifi_password
Enable fallback hotspot (captive portal) in case wifi connection fails
ap: password: !secret wifi_hotspot_password
Activate scan only after wifi connect, see https://github.com/esphome/issues/issues/2941#issuecomment-1842369092
on_connect:
captive_portal: `