Added support for multiple codes executed in a row (#5908)
Added support for multiple codes executed in a row (#5908)

* Added support for multiple codes executed in a row

now codes can be specified either by simply providing a single code, which will then be sent like usual, or multiple codes can be executed in a row, specified in a comma delimited format in the configuration.yaml. For example: 111111,222222,333333,444444 would mean 111111 would be sent first, followed by 222222 and 333333 and 444444.

* rpi_rf: added line breaks to not exceed 79 characters per line

* include validation for correct formatting of codes

added regex which only allows either a single number (like 1252456245) or a sequence of commas followed by another number.

* added line breaks to not exceed 79 characters per line

* fix for 'continuation line under-indented for visual indent'

* another try at 'continuation line under-indented for visual indent'

* changed from regex to list for easier maintainability

* removed unnecessary splitting of strings

morphis/home-assistant,LinuxChristian/home-assistant,sdague/home-assistant,HydrelioxGitHub/home-assistant,jamespcole/home-assistant,JshWright/home-assistant,PetePriority/home-assistant,jnewland/home-assistant,sander76/home-assistant,FreekingDean/home-assistant,jawilson/home-assistant,MungoRae/home-assistant,mezz64/home-assistant,tinloaf/home-assistant,Danielhiversen/home-assistant,nugget/home-assistant,Cinntax/home-assistant,qedi-r/home-assistant,DavidLP/home-assistant,mKeRix/home-assistant,jabesq/home-assistant,turbokongen/home-assistant,ewandor/home-assistant,tchellomello/home-assistant,ct-23/home-assistant,kennedyshead/home-assistant,jabesq/home-assistant,alexmogavero/home-assistant,tboyce1/home-assistant,rohitranjan1991/home-assistant,MungoRae/home-assistant,toddeye/home-assistant,PetePriority/home-assistant,lukas-hetzenecker/home-assistant,Danielhiversen/home-assistant,nugget/home-assistant,stefan-jonasson/home-assistant,rohitranjan1991/home-assistant,tboyce1/home-assistant,happyleavesaoc/home-assistant,happyleavesaoc/home-assistant,partofthething/home-assistant,HydrelioxGitHub/home-assistant,mezz64/home-assistant,MungoRae/home-assistant,LinuxChristian/home-assistant,balloob/home-assistant,ewandor/home-assistant,persandstrom/home-assistant,morphis/home-assistant,MartinHjelmare/home-assistant,alexmogavero/home-assistant,jamespcole/home-assistant,molobrakos/home-assistant,stefan-jonasson/home-assistant,miniconfig/home-assistant,pschmitt/home-assistant,JshWright/home-assistant,miniconfig/home-assistant,molobrakos/home-assistant,MungoRae/home-assistant,PetePriority/home-assistant,joopert/home-assistant,morphis/home-assistant,nkgilley/home-assistant,jnewland/home-assistant,Cinntax/home-assistant,FreekingDean/home-assistant,ewandor/home-assistant,LinuxChristian/home-assistant,fbradyirl/home-assistant,ct-23/home-assistant,persandstrom/home-assistant,MartinHjelmare/home-assistant,toddeye/home-assistant,JshWright/home-assistant,JshWright/home-assistant,home-assistant/home-assistant,postlund/home-assistant,balloob/home-assistant,tboyce021/home-assistant,auduny/home-assistant,leppa/home-assistant,qedi-r/home-assistant,persandstrom/home-assistant,mKeRix/home-assistant,lukas-hetzenecker/home-assistant,sander76/home-assistant,alexmogavero/home-assistant,LinuxChristian/home-assistant,aequitas/home-assistant,happyleavesaoc/home-assistant,ct-23/home-assistant,aronsky/home-assistant,turbokongen/home-assistant,tinloaf/home-assistant,HydrelioxGitHub/home-assistant,robbiet480/home-assistant,kennedyshead/home-assistant,MungoRae/home-assistant,adrienbrault/home-assistant,home-assistant/home-assistant,ct-23/home-assistant,aequitas/home-assistant,tchellomello/home-assistant,nkgilley/home-assistant,leppa/home-assistant,aequitas/home-assistant,soldag/home-assistant,miniconfig/home-assistant,nugget/home-assistant,stefan-jonasson/home-assistant,jnewland/home-assistant,molobrakos/home-assistant,Teagan42/home-assistant,shaftoe/home-assistant,miniconfig/home-assistant,auduny/home-assistant,robbiet480/home-assistant,adrienbrault/home-assistant,Teagan42/home-assistant,postlund/home-assistant,aronsky/home-assistant,LinuxChristian/home-assistant,joopert/home-assistant,partofthething/home-assistant,jabesq/home-assistant,tboyce021/home-assistant,fbradyirl/home-assistant,tinloaf/home-assistant,ct-23/home-assistant,happyleavesaoc/home-assistant,jawilson/home-assistant,pschmitt/home-assistant,MartinHjelmare/home-assistant,fbradyirl/home-assistant,mKeRix/home-assistant,jamespcole/home-assistant,titilambert/home-assistant,GenericStudent/home-assistant,GenericStudent/home-assistant,morphis/home-assistant,sdague/home-assistant,w1ll1am23/home-assistant,balloob/home-assistant,shaftoe/home-assistant,stefan-jonasson/home-assistant,auduny/home-assistant,mKeRix/home-assistant,shaftoe/home-assistant,w1ll1am23/home-assistant,tboyce1/home-assistant,titilambert/home-assistant,shaftoe/home-assistant,alexmogavero/home-assistant,DavidLP/home-assistant,soldag/home-assistant,tboyce1/home-assistant,rohitranjan1991/home-assistant,DavidLP/home-assistant