logging change
breakup into helper functions
query lights connected to bridge