From 81edcb3688c1128f672f5411cd8a8b0e388f17ef Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Sat, 7 Oct 2023 17:55:27 +0100 Subject: [PATCH] extra pin config --- component.yaml | 99 +++++++++++++++++++++++--------------------------- 1 file changed, 46 insertions(+), 53 deletions(-) diff --git a/component.yaml b/component.yaml index acd4b99..28268b9 100644 --- a/component.yaml +++ b/component.yaml @@ -1,68 +1,61 @@ - esphome: - name: hottub - friendly_name: Hottub - - esp32: - board: esp32dev - framework: - type: arduino - external_components: +external_components: - source: type: git url: https://github.com/netmindz/balboa_GL_ML_spa_control.git ref: ESPHome refresh: 0s - components: [BalboaGL] - - - # Enable logging - logger: - - # Enable Home Assistant API - api: - encryption: - key: "sUhVA1uqxqWBmBu6BGISQHfi7+9a0HXf+1WIcBYrnz0=" - - ota: - password: "e82fe9bada398051d779151a591a1e2e" - - wifi: - ssid: !secret wifi_ssid - password: !secret wifi_password - - # Enable fallback hotspot (captive portal) in case wifi connection fails - ap: - ssid: "Hottub Fallback Hotspot" - password: "tHV1HzrYNvGo" - - captive_portal: + # components: [BalboaGL,BalboaGLSensor] # Text sensors with general information. - text_sensor: +text_sensor: # Expose ESPHome version as sensor. - platform: version - name: ${name} ESPHome Version + name: ESPHome Version # Expose WiFi information as sensors. - platform: wifi_info ip_address: - name: ${name} IP + name: IP ssid: - name: ${name} SSID + name: SSID bssid: - name: ${name} BSSID - - # Sensors with general information. - sensor: - # Uptime sensor. - - platform: uptime - name: ${name} Uptime - - # WiFi Signal sensor. - - platform: wifi_signal - name: ${name} WiFi Signal - update_interval: 60s - - climate: - - platform: BalboaGL - name: ${friendly_name} + name: BSSID + + - platform: BalboaGLSensor + state: + name: State + raw: + name: Raw Data + lcd: + name: LCD Display + +# Sensors with general information. +sensor: + # Uptime sensor. + - platform: uptime + name: Uptime + + # WiFi Signal sensor. + - platform: wifi_signal + name: WiFi Signal + update_interval: 60s + +switch: + - platform: BalboaGLSwitch + name: Light + +# select: +# - platform: BalboaGLSelect +# pump1: +# name: Pump1 +# options: "HIGH" + +climate: + - platform: BalboaGL + name: Temp + hardware_uart: UART1 + rx_pin: 3 + tx_pin: 10 + enable_pin: 5 + panel_select_pin: 6 + update_interval: 1000ms