Push buttons are useful for home automation. You can connect a lot of them on one line.
Currently IN_PUSH_TOGGLE was not used in code. I've checked - behaviour is the same if you use 0 or 1 as input type.
I keep type "0" as normal button as before. Type "1" becomes a push button which toggle state on every press i.e. on every change 0-1 and back.
Push buttons are useful for home automation. You can connect a lot of them on one line. Currently IN_PUSH_TOGGLE was not used in code. I've checked - behaviour is the same if you use 0 or 1 as input type. I keep type "0" as normal button as before. Type "1" becomes a push button which toggle state on every press i.e. on every change 0-1 and back.