1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Add copy integration (#3241)

This commit is contained in:
Otto Winter
2022-02-20 21:13:37 +01:00
committed by GitHub
parent 8dae7f8225
commit f59dbe4a88
35 changed files with 934 additions and 0 deletions

View File

@@ -2104,6 +2104,9 @@ fan:
on_speed_set:
then:
- logger.log: "Fan speed was changed!"
- platform: copy
source_id: fan_speed
name: "Fan Speed Copy"
interval:
- interval: 10s
@@ -2671,6 +2674,9 @@ select:
- one
- two
optimistic: true
- platform: copy
source_id: test_select
name: Test Select Copy
qr_code:
- id: homepage_qr
@@ -2700,3 +2706,6 @@ lock:
name: "Generic Output Lock"
id: test_lock2
output: pca_6
- platform: copy
source_id: test_lock2
name: Generic Output Lock Copy

View File

@@ -221,6 +221,10 @@ sensor:
- platform: mcp3204
name: "MCP3204 Pin 1"
number: 1
id: mcp_sensor
- platform: copy
source_id: mcp_sensor
name: "MCP binary sensor copy"
#
# platform sensor.apds9960 requires component apds9960
@@ -364,6 +368,9 @@ switch:
name: inverter0_pv_ok_condition_for_parallel
pv_power_balance:
name: inverter0_pv_power_balance
- platform: copy
source_id: tuya_switch
name: Tuya Switch Copy
light:
- platform: fastled_clockless
@@ -391,6 +398,9 @@ cover:
- platform: tuya
id: tuya_cover
position_datapoint: 2
- platform: copy
source_id: tuya_cover
name: "Tuya Cover copy"
display:
- platform: addressable_light
@@ -465,6 +475,9 @@ number:
min_value: 0
max_value: 17
step: 1
- platform: copy
source_id: tuya_number
name: Tuya Number Copy
text_sensor:
- platform: pipsolar
@@ -484,6 +497,9 @@ text_sensor:
last_qflag:
id: inverter0_last_qflag
name: inverter0_last_qflag
- platform: copy
source_id: inverter0_device_mode
name: "Inverter Text Sensor Copy"
output:
- platform: pipsolar
@@ -552,6 +568,11 @@ button:
name: Safe Mode Button
- platform: shutdown
name: Shutdown Button
id: shutdown_btn
- platform: copy
source_id: shutdown_btn
name: Shutdown Button Copy
touchscreen:
- platform: ektf2232