Identifying switches and sensors (for home automation config)