Tile Card Toggle

Hi All,
Have these 2 toggles (also separate entities) to start and stop the live stream.
image
How to convert theese 2 to 1 on/off tile switch, preferable a horizontal switch?
With code example please!

Thanks,
Ase