Allow token authentication for 'hook' switch component (#6922)
Allow token authentication for 'hook' switch component (#6922)

The Hook switch component currently uses username/password to get a token
from the Hook web app to use for subsequent requests. This adds an option
to specify the token directly in config.

Makes the 'password' and 'token' options mutually exclusive since
otherwise one would have to take precedence, and it seems worth
preventing people from filling their config with passwords that don't
even need to be there.
aronsky/home-assistant,fbradyirl/home-assistant,HydrelioxGitHub/home-assistant,auduny/home-assistant,molobrakos/home-assistant,MartinHjelmare/home-assistant,tboyce1/home-assistant,PetePriority/home-assistant,kennedyshead/home-assistant,tchellomello/home-assistant,stefan-jonasson/home-assistant,MartinHjelmare/home-assistant,persandstrom/home-assistant,joopert/home-assistant,jabesq/home-assistant,stefan-jonasson/home-assistant,turbokongen/home-assistant,Cinntax/home-assistant,ewandor/home-assistant,tinloaf/home-assistant,molobrakos/home-assistant,home-assistant/home-assistant,LinuxChristian/home-assistant,qedi-r/home-assistant,PetePriority/home-assistant,MartinHjelmare/home-assistant,Teagan42/home-assistant,jamespcole/home-assistant,w1ll1am23/home-assistant,shaftoe/home-assistant,sander76/home-assistant,fbradyirl/home-assistant,GenericStudent/home-assistant,GenericStudent/home-assistant,DavidLP/home-assistant,rohitranjan1991/home-assistant,sander76/home-assistant,postlund/home-assistant,happyleavesaoc/home-assistant,alexmogavero/home-assistant,rohitranjan1991/home-assistant,balloob/home-assistant,alexmogavero/home-assistant,soldag/home-assistant,jnewland/home-assistant,aequitas/home-assistant,robbiet480/home-assistant,tinloaf/home-assistant,balloob/home-assistant,balloob/home-assistant,soldag/home-assistant,leppa/home-assistant,tboyce1/home-assistant,persandstrom/home-assistant,jnewland/home-assistant,jawilson/home-assistant,tchellomello/home-assistant,ct-23/home-assistant,nugget/home-assistant,alexmogavero/home-assistant,JshWright/home-assistant,MungoRae/home-assistant,pschmitt/home-assistant,mezz64/home-assistant,fbradyirl/home-assistant,lukas-hetzenecker/home-assistant,HydrelioxGitHub/home-assistant,aequitas/home-assistant,DavidLP/home-assistant,Danielhiversen/home-assistant,joopert/home-assistant,postlund/home-assistant,shaftoe/home-assistant,FreekingDean/home-assistant,jawilson/home-assistant,shaftoe/home-assistant,nugget/home-assistant,titilambert/home-assistant,auduny/home-assistant,happyleavesaoc/home-assistant,kennedyshead/home-assistant,LinuxChristian/home-assistant,alexmogavero/home-assistant,jamespcole/home-assistant,robbiet480/home-assistant,mKeRix/home-assistant,PetePriority/home-assistant,jabesq/home-assistant,Cinntax/home-assistant,JshWright/home-assistant,stefan-jonasson/home-assistant,LinuxChristian/home-assistant,leppa/home-assistant,Danielhiversen/home-assistant,tboyce1/home-assistant,FreekingDean/home-assistant,tboyce1/home-assistant,adrienbrault/home-assistant,pschmitt/home-assistant,MungoRae/home-assistant,jamespcole/home-assistant,qedi-r/home-assistant,nugget/home-assistant,sdague/home-assistant,happyleavesaoc/home-assistant,tboyce021/home-assistant,mKeRix/home-assistant,MungoRae/home-assistant,ct-23/home-assistant,toddeye/home-assistant,LinuxChristian/home-assistant,ewandor/home-assistant,JshWright/home-assistant,nkgilley/home-assistant,sdague/home-assistant,tinloaf/home-assistant,aronsky/home-assistant,ct-23/home-assistant,lukas-hetzenecker/home-assistant,persandstrom/home-assistant,ct-23/home-assistant,w1ll1am23/home-assistant,tboyce021/home-assistant,DavidLP/home-assistant,ewandor/home-assistant,auduny/home-assistant,mKeRix/home-assistant,JshWright/home-assistant,jnewland/home-assistant,LinuxChristian/home-assistant,stefan-jonasson/home-assistant,aequitas/home-assistant,ct-23/home-assistant,molobrakos/home-assistant,home-assistant/home-assistant,rohitranjan1991/home-assistant,nkgilley/home-assistant,mKeRix/home-assistant,MungoRae/home-assistant,partofthething/home-assistant,HydrelioxGitHub/home-assistant,toddeye/home-assistant,mezz64/home-assistant,happyleavesaoc/home-assistant,jabesq/home-assistant,MungoRae/home-assistant,partofthething/home-assistant,adrienbrault/home-assistant,Teagan42/home-assistant,shaftoe/home-assistant,turbokongen/home-assistant,titilambert/home-assistant