mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
fixed test3.yaml for binary_sensor_map
platform name changed type: group is Requred now
This commit is contained in:
parent
373b4d6886
commit
3c199ac465
@ -96,9 +96,10 @@ sensor:
|
|||||||
entity_id: sensor.hello_world
|
entity_id: sensor.hello_world
|
||||||
id: ha_hello_world
|
id: ha_hello_world
|
||||||
#group_value sensor
|
#group_value sensor
|
||||||
- platform: group_value
|
- platform: binary_sensor_map
|
||||||
id: slider_0
|
id: slider_0
|
||||||
name: 'Slider 1'
|
type: GROUP
|
||||||
|
name: 'Group 1'
|
||||||
channels:
|
channels:
|
||||||
- channel: touchkey0
|
- channel: touchkey0
|
||||||
value: 0
|
value: 0
|
||||||
@ -108,9 +109,6 @@ sensor:
|
|||||||
value: 20
|
value: 20
|
||||||
- channel: touchkey3
|
- channel: touchkey3
|
||||||
value: 30
|
value: 30
|
||||||
- channel: flash_button0
|
|
||||||
value: 80
|
|
||||||
|
|
||||||
time:
|
time:
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
|
|
||||||
@ -158,12 +156,6 @@ binary_sensor:
|
|||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- switch.toggle: mpr121_toggle
|
- switch.toggle: mpr121_toggle
|
||||||
#flash button on gpio0
|
|
||||||
- platform: gpio
|
|
||||||
pin:
|
|
||||||
number: D3
|
|
||||||
inverted: True
|
|
||||||
id: flash_button0
|
|
||||||
|
|
||||||
remote_receiver:
|
remote_receiver:
|
||||||
pin: GPIO12
|
pin: GPIO12
|
||||||
|
Loading…
x
Reference in New Issue
Block a user