Closes Convert to BUTTON from Switch

Fixes #1159
Switched everything to Buttoms but actually - didn't have any in production.

Refactor TPLink configurations by removing the deprecated tplink.yaml file and updating related components to use buttons instead of switches in logger and mqtt screens. Adjusted basketball shell script to reflect the same change.
This commit is contained in:
Carlo Costanzo
2025-12-02 12:05:52 -05:00
parent 214657f4cc
commit 10714a953b
5 changed files with 5 additions and 19 deletions

View File

@@ -41,7 +41,7 @@ logs:
homeassistant.components.sensor.pi_hole: critical homeassistant.components.sensor.pi_hole: critical
homeassistant.components.sensor.rest: info homeassistant.components.sensor.rest: info
homeassistant.components.sensor.darksky: warn homeassistant.components.sensor.darksky: warn
homeassistant.components.tplink.switch: error homeassistant.components.tplink.button: error
homeassistant.components.unifi: error homeassistant.components.unifi: error
homeassistant.components.device_tracker.unifi: error homeassistant.components.device_tracker.unifi: error
homeassistant.components.switch.unifi: error homeassistant.components.switch.unifi: error

View File

@@ -31,7 +31,7 @@ sensor:
monitored_conditions: monitored_conditions:
- chime_level - chime_level
switch: button:
- platform: skybell - platform: skybell
monitored_conditions: monitored_conditions:
# - do_not_disturb # - do_not_disturb

View File

@@ -1,12 +0,0 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
###################################
## TPink compatible Devices - https://www.vcloudinfo.com/2018/12/how-to-waterproof-your-outdoor-smart.html
TPLink no longer needed as it was moved into the UI.
###################################
tplink:
# discovery: false
switch:
- host: 192.168.10.116

View File

@@ -10,10 +10,8 @@ homeassistant:
icon: mdi:monitor-multiple icon: mdi:monitor-multiple
emulated_hue_ emulated_hue_
#------------------------------------------- #-------------------------------------------
switch: button:
- platform: mqtt - platform: mqtt
name: computer_screens name: computer_screens
state_topic: 'carlo-ultra/monitor/all/power/state' state_topic: 'carlo-ultra/monitor/all/power/state'

View File

@@ -251,7 +251,7 @@ light:
use_random_color: true use_random_color: true
fade_out_rate: 50 fade_out_rate: 50
switch: button:
- platform: template - platform: template
name: Basketball Status Lights name: Basketball Status Lights
id: bb_on_lights_off id: bb_on_lights_off