I had this working and started adding another snippet of code and messed something up. Looking for another set of eyes. Only thing I thought I did here was change the pin numbers but I am getting an error on the first platform with no info, just a tilde on the -. Can someone see what I am missing?
thanks
switch:
- platform: gpio
pin:
number: GPIO14
inverted: False
name: ph_up
id: ph_up_pn2222_base
on_turn_on:
- delay: 4000ms
- switch.turn_off: ph_up_pn2222_base
- logger.log: "1Tsp Fill PH UP"
- platform: gpio
pin:
number: GPIO12
inverted: False
name: ph_down
id: ph_down_pn2222_base
on_turn_on:
- delay: 4000ms
- switch.turn_off: ph_down_pn2222_base
- logger.log: "1Tsp Fill PH DOWN"
- platform: gpio
pin:
number: GPIO2
name: led_pin
id: led_pinz