mirror of
				https://github.com/CCOSTAN/Home-AssistantConfig.git
				synced 2025-10-31 10:46:20 +00:00 
			
		
		
		
	Fixed Breaking Change in 0.90 for TPLINK #509
This commit is contained in:
		| @@ -22,4 +22,4 @@ | ||||
|     - wait_template: >- | ||||
|        {{ not is_state('media_player.livingroomCC', 'playing') }} | ||||
|     - service: switch.turn_off | ||||
|       entity_id: switch.living_room_amp | ||||
|       entity_id: switch.lr_amp | ||||
|   | ||||
| @@ -5,7 +5,7 @@ | ||||
| - alias: Automated NIGHT WatchDog! | ||||
|   trigger: | ||||
|     - platform: state | ||||
|       entity_id: switch.living_room_amp | ||||
|       entity_id: switch.lr_amp | ||||
|       to: 'on' | ||||
|       for: '00:10:00' | ||||
|     - platform: state | ||||
|   | ||||
| @@ -23,4 +23,4 @@ | ||||
|       entity_id: | ||||
|         - group.kitchen_lights | ||||
|     - service: switch.turn_on | ||||
|       entity_id: switch.living_room_amp | ||||
|       entity_id: switch.lr_amp | ||||
|   | ||||
| @@ -74,7 +74,7 @@ switch.kitchen_accents: | ||||
|   assumed_state: true | ||||
|  | ||||
|  | ||||
| switch.living_room_amp: | ||||
| switch.lr_amp: | ||||
|   friendly_name: 'Living Room Amp' | ||||
|    | ||||
|   hidden: False | ||||
|   | ||||
| @@ -8,7 +8,7 @@ Interior Switches: | ||||
|     - switch.printer_outlet | ||||
|     - switch.front_door_outlet | ||||
|     - switch.garage_outlet | ||||
|     - switch.living_room_amp | ||||
|     - switch.lr_amp | ||||
|     - switch.master_bathroom_accents | ||||
|     - switch.master_bathroom_accents_2 | ||||
|     - switch.pool_deck | ||||
|   | ||||
| @@ -2,31 +2,9 @@ | ||||
| # @CCOSTAN | ||||
| # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig | ||||
| ################################### | ||||
| ## Tuya compatible Devices - https://www.vcloudinfo.com/2018/12/how-to-waterproof-your-outdoor-smart.html | ||||
| ## TPink compatible Devices - https://www.vcloudinfo.com/2018/12/how-to-waterproof-your-outdoor-smart.html | ||||
| ################################### | ||||
| tplink: | ||||
|   discovery: true | ||||
|   switch: | ||||
|     - host: 192.168.10.116 | ||||
|  | ||||
| # homeassistant: | ||||
| #   customize_glob: | ||||
| #     "sensor.skybell_*": | ||||
| #       icon: mdi:camera-front | ||||
| # | ||||
| #       hidden: False | ||||
| #       homebridge_hidden: True | ||||
|  | ||||
| # group: | ||||
| #   bolt: | ||||
| #     name: Chevy Bolt EV | ||||
| #     control: hidden | ||||
| #     entities: | ||||
| #       - device_tracker.Carlo_Bolt | ||||
| #       - binary_sensor.mychevy_plugged_in | ||||
| #       - sensor.mychevy_charge_mode | ||||
| #       - sensor.mychevy_charging | ||||
| #       - sensor.mychevy_evcharge | ||||
| #       - sensor.mychevy_mileage | ||||
| #       - sensor.mychevy_range | ||||
| #       - sensor.mychevy_status | ||||
|   | ||||
| @@ -32,7 +32,7 @@ automation: | ||||
|       entity_id: media_player.livingroomCC | ||||
|  | ||||
|     - service: switch.turn_on | ||||
|       entity_id: switch.living_room_amp | ||||
|       entity_id: switch.lr_amp | ||||
|     - delay: '00:00:05' | ||||
|  | ||||
|     - service: media_player.volume_set | ||||
|   | ||||
| @@ -35,7 +35,7 @@ amp_settings: | ||||
|           {{volume_level}} | ||||
|  | ||||
|     - condition: state | ||||
|       entity_id: switch.living_room_amp | ||||
|       entity_id: switch.lr_amp | ||||
|       state: 'off' | ||||
|     - condition: state | ||||
|       entity_id: group.bed | ||||
| @@ -43,4 +43,4 @@ amp_settings: | ||||
|  | ||||
|     - service: switch.turn_on | ||||
|       data: | ||||
|         entity_id: switch.living_room_amp | ||||
|         entity_id: switch.lr_amp | ||||
|   | ||||
| @@ -23,7 +23,7 @@ dog_bark: | ||||
|       entity_id: input_boolean.speech_notifications | ||||
|       state: 'on' | ||||
|     - service: switch.turn_on | ||||
|       entity_id: switch.living_room_amp | ||||
|       entity_id: switch.lr_amp | ||||
|  | ||||
|     - service: media_player.turn_on | ||||
|       entity_id: media_player.livingroomCC | ||||
|   | ||||
| @@ -43,7 +43,7 @@ speech_processing: | ||||
|           state: 'on' | ||||
|  | ||||
|     - service: switch.turn_on | ||||
|       entity_id: switch.living_room_amp | ||||
|       entity_id: switch.lr_amp | ||||
|  | ||||
|     - service: media_player.volume_set | ||||
|       data_template: | ||||
|   | ||||
| @@ -10,4 +10,4 @@ switch_turn_off_all: | ||||
|     - service: switch.turn_off | ||||
|       entity_id: group.interior_switches | ||||
|     - service: switch.turn_off | ||||
|       entity_id: switch.living_room_amp | ||||
|       entity_id: switch.lr_amp | ||||
|   | ||||
| @@ -88,7 +88,7 @@ rules: | ||||
|       - switch.master_bathroom_accents | ||||
|       - switch.front_door_outlet | ||||
|       - switch.foyer_outlet | ||||
|       - switch.living_room_amp | ||||
|       - switch.lr_amp | ||||
|       - switch.garage_outlet | ||||
|     states: | ||||
|       - state: 'on' | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB | 
		Reference in New Issue
	
	Block a user