mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 08:28:12 +01:00
parent
667457989e
commit
a07a835eb0
1 changed files with 22 additions and 1 deletions
|
@ -122,6 +122,13 @@ sensor:
|
||||||
name: Color Temperature
|
name: Color Temperature
|
||||||
integration_time: 700ms
|
integration_time: 700ms
|
||||||
gain: 60x
|
gain: 60x
|
||||||
|
- platform: custom
|
||||||
|
lambda: |-
|
||||||
|
auto s = new sensor::Sensor();
|
||||||
|
return {s};
|
||||||
|
sensors:
|
||||||
|
- id: custom_sensor
|
||||||
|
name: Custom Sensor
|
||||||
|
|
||||||
time:
|
time:
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
|
@ -178,6 +185,13 @@ binary_sensor:
|
||||||
- platform: ttp229_lsf
|
- platform: ttp229_lsf
|
||||||
channel: 1
|
channel: 1
|
||||||
name: TTP229 LSF Test
|
name: TTP229 LSF Test
|
||||||
|
- platform: custom
|
||||||
|
lambda: |-
|
||||||
|
auto s = new binary_sensor::BinarySensor();
|
||||||
|
return {s};
|
||||||
|
sensors:
|
||||||
|
- id: custom_binary_sensor
|
||||||
|
name: Custom Binary Sensor
|
||||||
|
|
||||||
remote_receiver:
|
remote_receiver:
|
||||||
pin: GPIO12
|
pin: GPIO12
|
||||||
|
@ -233,6 +247,13 @@ switch:
|
||||||
id: gpio_switch2
|
id: gpio_switch2
|
||||||
pin: GPIO1
|
pin: GPIO1
|
||||||
interlock: *interlock
|
interlock: *interlock
|
||||||
|
- platform: custom
|
||||||
|
lambda: |-
|
||||||
|
auto s = new switch::Switch();
|
||||||
|
return {s};
|
||||||
|
sensors:
|
||||||
|
- id: custom_switch
|
||||||
|
name: Custom Switch
|
||||||
|
|
||||||
stepper:
|
stepper:
|
||||||
- platform: uln2003
|
- platform: uln2003
|
||||||
|
|
Loading…
Reference in a new issue