Allows to configure switches using sr595_infinity_cascade shield on raspberry pi using wiringpi
A simple configuration could be:
switch:
- platform: sr595_infinity_cascade_switch
devices:
- address: 1
name: Bathroom
An automation action can look like this:
action:
service: switch.toggle
entity_id: switch.bathroom
Optionally the pin configuration can be changed:
switch:
- platform: sr595_infinity_cascade_switch
base_pin: 100
pin_count: 32
data_pin: 12
clock_pin: 14
latch_pin: 10
devices:
- address: 1
name: Bathroom