updating common esphome sensors

finally fixing hvac-multisensor. All of this was caused by the display switch referenced the display while it wasn't plugged in. Updated code to check for the existence first.
This commit is contained in:
CeeWeasel
2025-07-20 12:33:08 -04:00
parent 4e0e55ac3c
commit 75fb9c2ab8
31 changed files with 1315 additions and 600 deletions
+4 -30
View File
@@ -36,14 +36,14 @@ esphome:
# Define switches to control LED and buzzer from HA
switch:
- platform: template
name: "${friendly_name} Buzzer Enabled"
name: "Buzzer Enabled"
id: buzzer_enabled
icon: mdi:volume-high
optimistic: true
restore_mode: restore_default_on
entity_category: config
- platform: template
name: "${friendly_name} LED enabled"
name: "LED enabled"
id: led_enabled
icon: mdi:alarm-light-outline
optimistic: true
@@ -321,38 +321,12 @@ output:
binary_sensor:
- platform: gpio
name: Nursery Door
name: Door
device_class: door
pin:
mode: INPUT_PULLUP
number: D5
# # - platform: gpio
# # name: "Nursery Closet"
# # device_class: door
# # pin:
# # number: D6
# # mode: INPUT_PULLUP
# - platform: status
# name: "${friendly_name} Status"
# entity_category: diagnostic
# text_sensor:
# - platform: version
# hide_timestamp: true
# name: "${friendly_name} ESPHome Version"
# entity_category: diagnostic
# - platform: wifi_info
# ip_address:
# name: "${friendly_name} IP Address"
# icon: mdi:wifi
# entity_category: diagnostic
# ssid:
# name: "${friendly_name} Connected SSID"
# icon: mdi:wifi-strength-2
# entity_category: diagnostic
# Define buzzer as output for RTTTL
rtttl:
output: buzzer
@@ -366,7 +340,7 @@ light:
flash_transition_length: 500ms
type: GRB
id: activity_led
name: "${friendly_name} LED"
name: "LED"
restore_mode: ALWAYS_OFF